Package nl.colorize.multimedialib.tool
Class ImageManipulationTool
java.lang.Object
nl.colorize.multimedialib.tool.ImageManipulationTool
Command line tool for various forms of image manipulation that are not
available at runtime due to lack of platform support. This tool "bakes"
the effects into a new image, which can then be loaded and displayed at
runtime.
The following effects are supported:
- Generate variants with a horizontal offset to simulate texture animation.
- Generate variants with a vertical offset to simulate texture animation.
- Mirror the image horizontally and vertically so it can be used for tiling.
-
Field Details
-
inputDir
-
outputDir
-
outputPrefix
-
horizontalOffset
protected int horizontalOffset -
verticalOffset
protected int verticalOffset -
mirror
protected boolean mirror
-
-
Constructor Details
-
ImageManipulationTool
public ImageManipulationTool()
-
-
Method Details
-
main
-
run
- Throws:
IOException
-