org.apache.batik.ext.awt.image.codec.tiff
public class TIFFImage extends AbstractRed
| Field Summary | |
|---|---|
| static int | COMP_DEFLATE |
| static int | COMP_FAX_G3_1D |
| static int | COMP_FAX_G3_2D |
| static int | COMP_FAX_G4_2D |
| static int | COMP_JPEG_OLD |
| static int | COMP_JPEG_TTN2 |
| static int | COMP_LZW |
| static int | COMP_NONE |
| static int | COMP_PACKBITS |
| Constructor Summary | |
|---|---|
| TIFFImage(SeekableStream stream, TIFFDecodeParam param, int directory)
Constructs a TIFFImage that acquires its data from a given
SeekableStream and reads from a particular IFD of the stream.
| |
| Method Summary | |
|---|---|
| WritableRaster | copyData(WritableRaster wr) |
| TIFFDirectory | getPrivateIFD(long offset)
Reads a private IFD from a given offset in the stream. |
| Raster | getTile(int tileX, int tileY)
Returns tile (tileX, tileY) as a Raster. |
Parameters: stream the SeekableStream to read from. param an instance of TIFFDecodeParam, or null. directory the index of the IFD to read from.