Class ImageManipulationTool

java.lang.Object
nl.colorize.multimedialib.tool.ImageManipulationTool

public class ImageManipulationTool extends Object
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

      protected File inputDir
    • outputDir

      protected File outputDir
    • outputPrefix

      protected String outputPrefix
    • horizontalOffset

      protected int horizontalOffset
    • verticalOffset

      protected int verticalOffset
    • mirror

      protected boolean mirror
  • Constructor Details

    • ImageManipulationTool

      public ImageManipulationTool()
  • Method Details