Class TIFFRenderedImage
java.lang.Object
com.github.jaiimageio.impl.plugins.tiff.TIFFRenderedImage
- All Implemented Interfaces:
RenderedImage
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) int
(package private) boolean
(package private) ImageTypeSpecifier
(package private) TIFFImageReader
(package private) int
(package private) int
(package private) int
(package private) ImageReadParam
(package private) int
(package private) int
-
Constructor Summary
ConstructorsConstructorDescriptionTIFFRenderedImage
(TIFFImageReader reader, int imageIndex, ImageReadParam readParam, int width, int height) -
Method Summary
Modifier and TypeMethodDescriptionprivate ImageReadParam
cloneImageReadParam
(ImageReadParam param, boolean copyTagSets) Creates a copy ofparam
.copyData
(WritableRaster raster) getData()
int
int
int
int
getMinX()
int
getMinY()
int
int
getProperty
(String name) String[]
getTile
(int tileX, int tileY) int
int
int
int
int
getWidth()
-
Field Details
-
reader
TIFFImageReader reader -
imageIndex
int imageIndex -
tileParam
ImageReadParam tileParam -
subsampleX
int subsampleX -
subsampleY
int subsampleY -
isSubsampling
boolean isSubsampling -
width
int width -
height
int height -
tileWidth
int tileWidth -
tileHeight
int tileHeight -
its
-
-
Constructor Details
-
TIFFRenderedImage
public TIFFRenderedImage(TIFFImageReader reader, int imageIndex, ImageReadParam readParam, int width, int height) throws IOException - Throws:
IOException
-
-
Method Details
-
cloneImageReadParam
Creates a copy ofparam
. The source subsampling and and bands settings and the destination bands and offset settings are copied. Ifparam
is aTIFFImageReadParam
then theTIFFDecompressor
andTIFFColorConverter
settings are also copied; otherwise they are explicitly set tonull
.- Parameters:
param
- the parameters to be copied.copyTagSets
- whether theTIFFTagSet
settings should be copied if set.- Returns:
- copied parameters.
-
getSources
- Specified by:
getSources
in interfaceRenderedImage
-
getProperty
- Specified by:
getProperty
in interfaceRenderedImage
-
getPropertyNames
- Specified by:
getPropertyNames
in interfaceRenderedImage
-
getColorModel
- Specified by:
getColorModel
in interfaceRenderedImage
-
getSampleModel
- Specified by:
getSampleModel
in interfaceRenderedImage
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceRenderedImage
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceRenderedImage
-
getMinX
public int getMinX()- Specified by:
getMinX
in interfaceRenderedImage
-
getMinY
public int getMinY()- Specified by:
getMinY
in interfaceRenderedImage
-
getNumXTiles
public int getNumXTiles()- Specified by:
getNumXTiles
in interfaceRenderedImage
-
getNumYTiles
public int getNumYTiles()- Specified by:
getNumYTiles
in interfaceRenderedImage
-
getMinTileX
public int getMinTileX()- Specified by:
getMinTileX
in interfaceRenderedImage
-
getMinTileY
public int getMinTileY()- Specified by:
getMinTileY
in interfaceRenderedImage
-
getTileWidth
public int getTileWidth()- Specified by:
getTileWidth
in interfaceRenderedImage
-
getTileHeight
public int getTileHeight()- Specified by:
getTileHeight
in interfaceRenderedImage
-
getTileGridXOffset
public int getTileGridXOffset()- Specified by:
getTileGridXOffset
in interfaceRenderedImage
-
getTileGridYOffset
public int getTileGridYOffset()- Specified by:
getTileGridYOffset
in interfaceRenderedImage
-
getTile
- Specified by:
getTile
in interfaceRenderedImage
-
getData
- Specified by:
getData
in interfaceRenderedImage
-
getData
- Specified by:
getData
in interfaceRenderedImage
-
read
-
copyData
- Specified by:
copyData
in interfaceRenderedImage
-