Class TiffImageData.Tiles
java.lang.Object
org.apache.commons.imaging.formats.tiff.TiffImageData
org.apache.commons.imaging.formats.tiff.TiffImageData.Tiles
- Enclosing class:
TiffImageData
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.imaging.formats.tiff.TiffImageData
TiffImageData.ByteSourceData, TiffImageData.Data, TiffImageData.Strips, TiffImageData.Tiles
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
final TiffElement.DataElement[]
private final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataReader
(TiffDirectory directory, PhotometricInterpreter photometricInterpreter, int bitsPerPixel, int[] bitsPerSample, int predictor, int samplesPerPixel, int width, int height, int compression, ByteOrder byteOrder) int
Get the height of individual tiles.int
Get the width of individual tiles.boolean
-
Field Details
-
tiles
-
tileWidth
private final int tileWidth -
tileLength
private final int tileLength
-
-
Constructor Details
-
Tiles
-
-
Method Details
-
getImageData
- Specified by:
getImageData
in classTiffImageData
-
stripsNotTiles
public boolean stripsNotTiles()- Specified by:
stripsNotTiles
in classTiffImageData
-
getDataReader
public ImageDataReader getDataReader(TiffDirectory directory, PhotometricInterpreter photometricInterpreter, int bitsPerPixel, int[] bitsPerSample, int predictor, int samplesPerPixel, int width, int height, int compression, ByteOrder byteOrder) throws IOException, ImageReadException - Specified by:
getDataReader
in classTiffImageData
- Throws:
IOException
ImageReadException
-
getTileWidth
public int getTileWidth()Get the width of individual tiles. Note that if the overall image width is not a multiple of the tile width, then the last column of tiles may extend beyond the image width.- Returns:
- an integer value greater than zero
-
getTileHeight
public int getTileHeight()Get the height of individual tiles. Note that if the overall image height is not a multiple of the tile height, then the last row of tiles may extend beyond the image height.- Returns:
- an integer value greater than zero
-