| org.libtiff.jai.codecimpl.XTIFFImage
XTIFFImage | public class XTIFFImage extends SimpleRenderedImage (Code) | | |
Constructor Summary | |
public | XTIFFImage(SeekableStream stream, TIFFDecodeParam param, int directory) Constructs a XTIFFImage that acquires its data from a given SeekableStream
and reads from a particular IFD of the stream. |
Method Summary | |
public XTIFFDirectory | getPrivateIFD(long offset) Reads a private IFD from a given offset in the stream. | public synchronized Raster | getTile(int tileX, int tileY) Returns tile (tileX, tileY) as a Raster. | protected void | setupImageParameters() | protected void | setupSamplesAndColor() This method constructs the sampleModel, colorModel, determines the
image_type and the bands parameter. |
bitsPerSample | char bitsPerSample(Code) | | |
decodePaletteAsShorts | boolean decodePaletteAsShorts(Code) | | |
extraSamples | int extraSamples(Code) | | |
image_type | int image_type(Code) | | |
isBigEndian | boolean isBigEndian(Code) | | |
param | TIFFDecodeParam param(Code) | | |
photometric_interp | int photometric_interp(Code) | | |
sampleFormat | char sampleFormat(Code) | | |
samplesPerPixel | int samplesPerPixel(Code) | | |
stream | SeekableStream stream(Code) | | |
tileByteCounts | long tileByteCounts(Code) | | |
tileOffsets | long[] tileOffsets(Code) | | |
tilesXtilesY | int tilesXtilesY(Code) | | |
XTIFFImage | public XTIFFImage(SeekableStream stream, TIFFDecodeParam param, int directory) throws IOException(Code) | | Constructs a XTIFFImage that acquires its data from a given SeekableStream
and reads from a particular IFD of the stream. The index of the first IFD
is 0.
Parameters: stream - the SeekableStream to read from. Parameters: param - an instance of TIFFDecodeParam, or null. Parameters: directory - the index of the IFD to read from. |
getPrivateIFD | public XTIFFDirectory getPrivateIFD(long offset) throws IOException(Code) | | Reads a private IFD from a given offset in the stream. This method may be
used to obtain IFDs that are referenced only by private tag values.
|
getTile | public synchronized Raster getTile(int tileX, int tileY)(Code) | | Returns tile (tileX, tileY) as a Raster.
|
setupImageParameters | protected void setupImageParameters()(Code) | | This method gets the image parameters from fields
|
setupSamplesAndColor | protected void setupSamplesAndColor()(Code) | | This method constructs the sampleModel, colorModel, determines the
image_type and the bands parameter.
|
|
|