org.apache.batik.ext.awt.image.codec.tiff

Class TIFFImageDecoder

public class TIFFImageDecoder extends ImageDecoderImpl

A baseline TIFF reader. The reader has some functionality in addition to the baseline specifications for Bilevel images, for which the group 3 and group 4 decompression schemes have been implemented. Support for LZW decompression has also been added. Support for Horizontal differencing predictor decoding is also included, when used with LZW compression. However, this support is limited to data with bitsPerSample value of 8. When reading in RGB images, support for alpha and extraSamples being present has been added. Support for reading in images with 16 bit samples has been added. Support for the SampleFormat tag (signed samples as well as floating-point samples) has also been added. In all other cases, support is limited to Baseline specifications.
Field Summary
static intTIFF_BITS_PER_SAMPLE
static intTIFF_COLORMAP
static intTIFF_COMPRESSION
static intTIFF_EXTRA_SAMPLES
static intTIFF_FILL_ORDER
static intTIFF_IMAGE_LENGTH
static intTIFF_IMAGE_WIDTH
static intTIFF_PHOTOMETRIC_INTERPRETATION
static intTIFF_PLANAR_CONFIGURATION
static intTIFF_PREDICTOR
static intTIFF_RESOLUTION_UNIT
static intTIFF_ROWS_PER_STRIP
static intTIFF_SAMPLES_PER_PIXEL
static intTIFF_SAMPLE_FORMAT
static intTIFF_STRIP_BYTE_COUNTS
static intTIFF_STRIP_OFFSETS
static intTIFF_S_MAX_SAMPLE_VALUE
static intTIFF_S_MIN_SAMPLE_VALUE
static intTIFF_T4_OPTIONS
static intTIFF_T6_OPTIONS
static intTIFF_TILE_BYTE_COUNTS
static intTIFF_TILE_LENGTH
static intTIFF_TILE_OFFSETS
static intTIFF_TILE_WIDTH
static intTIFF_X_RESOLUTION
static intTIFF_Y_RESOLUTION
Constructor Summary
TIFFImageDecoder(SeekableStream input, ImageDecodeParam param)
Method Summary
RenderedImagedecodeAsRenderedImage(int page)
intgetNumPages()

Field Detail

TIFF_BITS_PER_SAMPLE

public static final int TIFF_BITS_PER_SAMPLE

TIFF_COLORMAP

public static final int TIFF_COLORMAP

TIFF_COMPRESSION

public static final int TIFF_COMPRESSION

TIFF_EXTRA_SAMPLES

public static final int TIFF_EXTRA_SAMPLES

TIFF_FILL_ORDER

public static final int TIFF_FILL_ORDER

TIFF_IMAGE_LENGTH

public static final int TIFF_IMAGE_LENGTH

TIFF_IMAGE_WIDTH

public static final int TIFF_IMAGE_WIDTH

TIFF_PHOTOMETRIC_INTERPRETATION

public static final int TIFF_PHOTOMETRIC_INTERPRETATION

TIFF_PLANAR_CONFIGURATION

public static final int TIFF_PLANAR_CONFIGURATION

TIFF_PREDICTOR

public static final int TIFF_PREDICTOR

TIFF_RESOLUTION_UNIT

public static final int TIFF_RESOLUTION_UNIT

TIFF_ROWS_PER_STRIP

public static final int TIFF_ROWS_PER_STRIP

TIFF_SAMPLES_PER_PIXEL

public static final int TIFF_SAMPLES_PER_PIXEL

TIFF_SAMPLE_FORMAT

public static final int TIFF_SAMPLE_FORMAT

TIFF_STRIP_BYTE_COUNTS

public static final int TIFF_STRIP_BYTE_COUNTS

TIFF_STRIP_OFFSETS

public static final int TIFF_STRIP_OFFSETS

TIFF_S_MAX_SAMPLE_VALUE

public static final int TIFF_S_MAX_SAMPLE_VALUE

TIFF_S_MIN_SAMPLE_VALUE

public static final int TIFF_S_MIN_SAMPLE_VALUE

TIFF_T4_OPTIONS

public static final int TIFF_T4_OPTIONS

TIFF_T6_OPTIONS

public static final int TIFF_T6_OPTIONS

TIFF_TILE_BYTE_COUNTS

public static final int TIFF_TILE_BYTE_COUNTS

TIFF_TILE_LENGTH

public static final int TIFF_TILE_LENGTH

TIFF_TILE_OFFSETS

public static final int TIFF_TILE_OFFSETS

TIFF_TILE_WIDTH

public static final int TIFF_TILE_WIDTH

TIFF_X_RESOLUTION

public static final int TIFF_X_RESOLUTION

TIFF_Y_RESOLUTION

public static final int TIFF_Y_RESOLUTION

Constructor Detail

TIFFImageDecoder

public TIFFImageDecoder(SeekableStream input, ImageDecodeParam param)

Method Detail

decodeAsRenderedImage

public RenderedImage decodeAsRenderedImage(int page)

getNumPages

public int getNumPages()
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.