Tools supported by the im4java-Library
ImageMagick
The commandline-tools of ImageMagick were the first tools supported by im4java. Available classes:
- org.im4java.core.IMOps
- automatically generated, do not use directly
- org.im4java.core.IMOperation
- Wrapper to commandline-options
- org.im4java.core.CompareCmd
- Wraps compare
- org.im4java.core.CompositeCmd
- Wraps composite
- org.im4java.core.ConvertCmd
- Wraps convert
- org.im4java.core.DisplayCmd
- Wraps display
- org.im4java.core.IdentifyCmd
- Wraps identify
- org.im4java.core.ImageMagickCmd
- This class lets you pass the command to the constructor
- org.im4java.core.MogrifyCmd
- Wraps mogrify
- org.im4java.core.MontageCmd
- Wraps montage
GraphicsMagick
GraphicsMagick is a fast alternative to ImageMagick. It has only a subset of ImageMagick features, but for most of the daily work it the tool of choice. Available classes:
- org.im4java.core.GMOps
- automatically generated, do not use directly
- org.im4java.core.GMOperation
- Wrapper to commandline-options
- org.im4java.core.GraphicsMagickCmd
- This class lets you pass the (sub)-command to the constructor
Note that you can also use the specific command-classes of ImageMagick, you just have to configure im4java to use GraphicsMagick.
dcraw
The tool dcraw converts all kinds of RAW image-formats to standard formats like tiff. Available classes:
- org.im4java.core.DCRAWOps
- automatically generated, do not use directly
- org.im4java.core.DCRAWOperation
- Wrapper to commandline-options
- org.im4java.core.DcrawCmd
- Wraps dcraw
ufraw
UFRaw, and it's batch-sibling ufraw-batch also convert RAW image-formats. Available classes:
- org.im4java.core.UFRawOps
- automatically generated, do not use directly
- org.im4java.core.UFRawOperation
- Wrapper to commandline-options
- org.im4java.core.UFRawCmd
- Wraps ufraw and ufraw-batch. The constructor has a boolean argument batchMode, if true, the wrapper runs ufraw-batch.
exiftool
With exiftool you can read and write image-metadata. Available classes:
- org.im4java.core.ETOps
- automatically generated, do not use directly
- org.im4java.core.ETOperation
- Wrapper to commandline-options. Exiftool differs from other tools: it supports hundreds of exif-tags as commandline-switches. To prevent bloat, im4java supports the tags differently (see the methods getTags, setTags etc.)
- org.im4java.core.ExiftoolCmd
- Wraps exiftool
jpegtran
The tool jpegtran supports various lossless jpeg-transformations (e.g. rotation or cropping). Available classes:
- org.im4java.core.JPTOps
- automatically generated, do not use directly
- org.im4java.core.JPTOperation
- Wrapper to commandline-options
- org.im4java.core.JpegtranCmd
- Wraps jpegtran