Interface TileSlicer

All Known Implementing Classes:
TileSlicerImpl
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TileSlicer
Slices an image into tiles.
Since:
3.2.0
Author:
Joel Uckelman
  • Method Details

    • slice

      void slice(BufferedImage src, String iname, String tpath, int tw, int th, ExecutorService exec, Callback<Void> progress) throws IOException
      Slices an image into tiles.
      Parameters:
      src - the source image
      iname - the basename for the tiles
      tpath - the path for the tiles
      tw - the tile width
      th - the tile height
      exec - the executor in which to run tasks
      progress - a callback for indicating progress
      Throws:
      IOException