| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private boolean | |
| private ImageTypeSpecifier | |
| private TIFFImageReader | |
| private int | |
| private int | |
| private int | |
| private ImageReadParam | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | TIFFRenderedImage(TIFFImageReader reader, int imageIndex, ImageReadParam readParam, int width, int height)
|
| Modifier and Type | Method and Description |
|---|---|
| private ImageReadParam | Returns: copied parameters.the parameters to be copied. param, boolean whether the copyTagSets)TIFFTagSet settings
should be copied if set.Creates a copy of |
| public WritableRaster | copyData(WritableRaster raster)
Implements java. Computes an arbitrary rectangular region of the RenderedImage and copies it into a caller-supplied WritableRaster. |
| public ColorModel | getColorModel()
Implements java. Returns the ColorModel associated with this image. |
| public Raster | getData()
Implements java. Returns the image as one large tile (for tile based images this will require fetching the whole image and copying the image data over). |
| public Raster | getData(Rectangle rect)
Implements java. Computes and returns an arbitrary region of the RenderedImage. |
| public int | getHeight()
Implements java. Returns the height of the RenderedImage. |
| public int | getMinTileX()
Implements java. Returns the minimum tile index in the X direction. |
| public int | getMinTileY()
Implements java. Returns the minimum tile index in the Y direction. |
| public int | getMinX()
Implements java. Returns the minimum X coordinate (inclusive) of the RenderedImage. |
| public int | getMinY()
Implements java. Returns the minimum Y coordinate (inclusive) of the RenderedImage. |
| public int | getNumXTiles()
Implements java. Returns the number of tiles in the X direction. |
| public int | getNumYTiles()
Implements java. Returns the number of tiles in the Y direction. |
| public Object | getProperty(String name)
Implements java. Gets a property from the property set of this image. |
| public String[] | getPropertyNames()
Implements java. Returns an array of names recognized by
|
| public SampleModel | getSampleModel()
Implements java. Returns the SampleModel associated with this image. |
| public Vector | getSources()
Implements java. Returns a vector of RenderedImages that are the immediate sources of image data for this RenderedImage. |
| public Raster | getTile(int tileX, int tileY)
Implements java. Returns tile (tileX, tileY). |
| public int | getTileGridXOffset()
Implements java. Returns the X offset of the tile grid relative to the origin, i.e., the X coordinate of the upper-left pixel of tile (0, 0). |
| public int | getTileGridYOffset()
Implements java. Returns the Y offset of the tile grid relative to the origin, i.e., the Y coordinate of the upper-left pixel of tile (0, 0). |
| public int | getTileHeight()
Implements java. Returns the tile height in pixels. |
| public int | getTileWidth()
Implements java. Returns the tile width in pixels. |
| public int | |
| public synchronized WritableRaster |
| height | back to summary |
|---|---|
| private int height | |
| imageIndex | back to summary |
|---|---|
| private int imageIndex | |
| isSubsampling | back to summary |
|---|---|
| private boolean isSubsampling | |
| its | back to summary |
|---|---|
| private ImageTypeSpecifier its | |
| reader | back to summary |
|---|---|
| private TIFFImageReader reader | |
| subsampleX | back to summary |
|---|---|
| private int subsampleX | |
| subsampleY | back to summary |
|---|---|
| private int subsampleY | |
| tileHeight | back to summary |
|---|---|
| private int tileHeight | |
| tileParam | back to summary |
|---|---|
| private ImageReadParam tileParam | |
| tileWidth | back to summary |
|---|---|
| private int tileWidth | |
| width | back to summary |
|---|---|
| private int width | |
| TIFFRenderedImage | back to summary |
|---|---|
| public TIFFRenderedImage(TIFFImageReader reader, int imageIndex, ImageReadParam readParam, int width, int height) throws IOException | |
| cloneImageReadParam | back to summary |
|---|---|
| private ImageReadParam cloneImageReadParam(ImageReadParam param, boolean copyTagSets) Creates a copy of
| |
| copyData | back to summary |
|---|---|
| public WritableRaster copyData(WritableRaster raster) Implements java. Doc from java. Computes an arbitrary rectangular region of the RenderedImage and copies it into a caller-supplied WritableRaster. The region to be computed is determined from the bounds of the supplied WritableRaster. The supplied WritableRaster must have a SampleModel that is compatible with this image. If raster is null, an appropriate WritableRaster is created.
| |
| getColorModel | back to summary |
|---|---|
| public ColorModel getColorModel() Implements java. Doc from java. Returns the ColorModel associated with this image. All Rasters returned from this image will have this as their ColorModel. This can return null.
| |
| getData | back to summary |
|---|---|
| public Raster getData() Implements java. Doc from java. Returns the image as one large tile (for tile based images this will require fetching the whole image and copying the image data over). The Raster returned is a copy of the image data and will not be updated if the image is changed.
| |
| getData | back to summary |
|---|---|
| public Raster getData(Rectangle rect) Implements java. Doc from java. Computes and returns an arbitrary region of the RenderedImage. The Raster returned is a copy of the image data and will not be updated if the image is changed.
| |
| getHeight | back to summary |
|---|---|
| public int getHeight() Implements java. Doc from java. Returns the height of the RenderedImage.
| |
| getMinTileX | back to summary |
|---|---|
| public int getMinTileX() Implements java. Doc from java. Returns the minimum tile index in the X direction.
| |
| getMinTileY | back to summary |
|---|---|
| public int getMinTileY() Implements java. Doc from java. Returns the minimum tile index in the Y direction.
| |
| getMinX | back to summary |
|---|---|
| public int getMinX() Implements java. Doc from java. Returns the minimum X coordinate (inclusive) of the RenderedImage.
| |
| getMinY | back to summary |
|---|---|
| public int getMinY() Implements java. Doc from java. Returns the minimum Y coordinate (inclusive) of the RenderedImage.
| |
| getNumXTiles | back to summary |
|---|---|
| public int getNumXTiles() Implements java. Doc from java. Returns the number of tiles in the X direction.
| |
| getNumYTiles | back to summary |
|---|---|
| public int getNumYTiles() Implements java. Doc from java. Returns the number of tiles in the Y direction.
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String name) Implements java. Doc from java. Gets a property from the property set of this image. The set of properties and whether it is immutable is determined by the implementing class. This method returns java.awt.Image.UndefinedProperty if the specified property is not defined for this RenderedImage.
| |
| getPropertyNames | back to summary |
|---|---|
| public String[] getPropertyNames() Implements java. Doc from java. Returns an array of names recognized by
| |
| getSampleModel | back to summary |
|---|---|
| public SampleModel getSampleModel() Implements java. Doc from java. Returns the SampleModel associated with this image. All Rasters returned from this image will have this as their SampleModel.
| |
| getSources | back to summary |
|---|---|
| public Vector Implements java. Doc from java. Returns a vector of RenderedImages that are the immediate sources of image data for this RenderedImage. This method returns null if the RenderedImage object has no information about its immediate sources. It returns an empty Vector if the RenderedImage object has no immediate sources.
| |
| getTile | back to summary |
|---|---|
| public Raster getTile(int tileX, int tileY) Implements java. Doc from java. Returns tile (tileX, tileY). Note that tileX and tileY are indices into the tile array, not pixel locations. The Raster that is returned is live and will be updated if the image is changed.
| |
| getTileGridXOffset | back to summary |
|---|---|
| public int getTileGridXOffset() Implements java. Doc from java. Returns the X offset of the tile grid relative to the origin, i.e., the X coordinate of the upper-left pixel of tile (0, 0). (Note that tile (0, 0) may not actually exist.)
| |
| getTileGridYOffset | back to summary |
|---|---|
| public int getTileGridYOffset() Implements java. Doc from java. Returns the Y offset of the tile grid relative to the origin, i.e., the Y coordinate of the upper-left pixel of tile (0, 0). (Note that tile (0, 0) may not actually exist.)
| |
| getTileHeight | back to summary |
|---|---|
| public int getTileHeight() Implements java. Doc from java. Returns the tile height in pixels. All tiles must have the same height.
| |
| getTileWidth | back to summary |
|---|---|
| public int getTileWidth() Implements java. Doc from java. Returns the tile width in pixels. All tiles must have the same width.
| |
| getWidth | back to summary |
|---|---|
| public int getWidth() Implements java. Doc from java. Returns the width of the RenderedImage.
| |
| read | back to summary |
|---|---|
| public synchronized WritableRaster read(Rectangle rect) | |