Package VASSAL.tools.image.tilecache
Class FileArchiveImageTiler
java.lang.Object
VASSAL.tools.image.tilecache.FileArchiveImageTiler
Tiles images contained in a ZIP archive.
- Since:
- 3.2.0
- Author:
- Joel Uckelman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(FileArchive fa, String tpath, int tw, int th, Iterable<String> ipaths, ExecutorService exec, ImageLoader loader, TileSlicer slicer, Callback<String> imageStartListener, Callback<String> imageDoneListener, Callback<Void> tileListener, Callback<Void> doneListener) Tile image contained in an archive.
-
Constructor Details
-
FileArchiveImageTiler
public FileArchiveImageTiler()
-
-
Method Details
-
run
public void run(FileArchive fa, String tpath, int tw, int th, Iterable<String> ipaths, ExecutorService exec, ImageLoader loader, TileSlicer slicer, Callback<String> imageStartListener, Callback<String> imageDoneListener, Callback<Void> tileListener, Callback<Void> doneListener) throws IOException Tile image contained in an archive.- Parameters:
fa
- the file archivetpath
- path to the output directorytw
- tile width, in pixelsth
- tile height, in pixelsipaths
- paths within the archive to images to be tiled- Throws:
IOException
-