Decoders
Decoders read and decode images supplied by a source. Most decoders support only one or a few closely related image formats. Several decoders are bundled into the core application, and others are available as plugins.
Bundled implementations
BMPDecoder
BMPDecoder uses the Java Image I/O BMP plugin bundled into the JDK.
GIFDecoder
GIFDecoder uses the Java Image I/O GIF plugin bundled into the JDK.
JPEGDecoder
JPEGDecoder uses the Java Image I/O JPEG plugin bundled into the JDK.
The Image I/O JPEG plugin implements the JFIF standard strictly and is known to fail to read certain images that other codecs have no problem with. A typical error message is: "Inconsistent metadata read from stream." If this turns out to be a problem, consider using the
TurboJPEG plugin instead.
PNGDecoder
PNGDecoder uses the Java Image I/O PNG plugin bundled into the JDK.
TIFFDecoder
TIFFDecoder uses the Java Image I/O TIFF plugin bundled into the JDK.
The Image I/O TIFF plugin tends to work well for strict TIFF 6.0 images, but it does not support BigTIFF, nor various compressions with sample sizes larger than 8 bits. It is also limited to images of no more than 2
31 pixels. For greater performance and compatibility, consider the
LibTIFF plugin.
Plugin implementations
See Plugins.