|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.media.jai.codecimpl.SimpleRenderedImage
org.libtiff.jai.codecimpl.XTIFFImage
public class XTIFFImage
| Field Summary |
|---|
| Fields inherited from class com.sun.media.jai.codecimpl.SimpleRenderedImage |
|---|
colorModel, height, minX, minY, properties, sampleModel, sources, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width |
| Constructor Summary | |
|---|---|
XTIFFImage(com.sun.media.jai.codec.SeekableStream stream,
com.sun.media.jai.codec.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 | |
|---|---|
XTIFFDirectory |
getPrivateIFD(long offset)
Reads a private IFD from a given offset in the stream. |
java.awt.image.Raster |
getTile(int tileX,
int tileY)
Returns tile (tileX, tileY) as a Raster. |
protected void |
setupImageParameters()
This method gets the image parameters from fields |
protected void |
setupSamplesAndColor()
This method constructs the sampleModel, colorModel, determines the image_type and the bands parameter. |
| Methods inherited from class com.sun.media.jai.codecimpl.SimpleRenderedImage |
|---|
copyData, getBounds, getColorModel, getData, getData, getHeight, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getPropertyNames, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, tileXToX, tileXToX, tileYToY, tileYToY, XToTileX, XToTileX, YToTileY, YToTileY |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XTIFFImage(com.sun.media.jai.codec.SeekableStream stream,
com.sun.media.jai.codec.TIFFDecodeParam param,
int directory)
throws java.io.IOException
stream - the SeekableStream to read from.param - an instance of TIFFDecodeParam, or null.directory - the index of the IFD to read from.
java.io.IOException| Method Detail |
|---|
protected void setupImageParameters()
protected void setupSamplesAndColor()
public XTIFFDirectory getPrivateIFD(long offset)
throws java.io.IOException
java.io.IOException
public java.awt.image.Raster getTile(int tileX,
int tileY)
getTile in interface java.awt.image.RenderedImagegetTile in class com.sun.media.jai.codecimpl.SimpleRenderedImage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||