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 intfinal 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) intGet the height of individual tiles.intGet 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:
getImageDatain classTiffImageData
-
stripsNotTiles
public boolean stripsNotTiles()- Specified by:
stripsNotTilesin 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:
getDataReaderin classTiffImageData- Throws:
IOExceptionImageReadException
-
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
-