Class TIFFImageReader

java.lang.Object
javax.imageio.ImageReader
com.twelvemonkeys.imageio.ImageReaderBase
com.twelvemonkeys.imageio.plugins.tiff.TIFFImageReader

public final class TIFFImageReader extends ImageReaderBase
ImageReader implementation for Aldus/Adobe Tagged Image File Format (TIFF).

The reader is supposed to be fully "Baseline TIFF" compliant, and supports the following image types:

  • Class B (Bi-level), all relevant compression types, 1 bit per sample
  • Class G (Gray), all relevant compression types, 2, 4, 8, 16 or 32 bits per sample, unsigned integer
  • Class P (Palette/indexed color), all relevant compression types, 1, 2, 4, 8 or 16 bits per sample, unsigned integer
  • Class R (RGB), all relevant compression types, 8 or 16 bits per sample, unsigned integer
In addition, it supports many common TIFF extensions such as:
  • Tiling
  • Class F (Facsimile), CCITT T.4 and T.6 compression (types 3 and 4), 1 bit per sample
  • LZW Compression (type 5)
  • "Old-style" JPEG Compression (type 6), as a best effort, as the spec is not well-defined
  • JPEG Compression (type 7)
  • ZLib (aka Adobe-style Deflate) Compression (type 8)
  • Deflate Compression (type 32946)
  • Horizontal differencing Predictor (type 2) for LZW, ZLib, Deflate and PackBits compression
  • Alpha channel (ExtraSamples types 1/Associated Alpha and 2/Unassociated Alpha)
  • Class S, CMYK data (PhotometricInterpretation type 5/Separated)
  • Class Y, YCbCr data (PhotometricInterpretation type 6/YCbCr for both JPEG and other compressions
  • Planar data (PlanarConfiguration type 2/Planar)
  • ICC profiles (ICCProfile)
  • BitsPerSample values up to 16 for most PhotometricInterpretations
  • Multiple images (pages) in one file
Version:
$Id: TIFFImageReader.java,v 1.0 08.05.12 15:14 haraldk Exp$
See Also: