Class AbstractTiffImageData.Tiles
java.lang.Object
org.apache.commons.imaging.formats.tiff.AbstractTiffImageData
org.apache.commons.imaging.formats.tiff.AbstractTiffImageData.Tiles
- Enclosing class:
AbstractTiffImageData
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.imaging.formats.tiff.AbstractTiffImageData
AbstractTiffImageData.Data, AbstractTiffImageData.Strips, AbstractTiffImageData.Tiles
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTiles
(AbstractTiffElement.DataElement[] tiles, int tileWidth, int tileLength) -
Method Summary
Modifier and TypeMethodDescriptiongetDataReader
(TiffDirectory directory, AbstractPhotometricInterpreter photometricInterpreter, int bitsPerPixel, int[] bitsPerSample, int predictor, int samplesPerPixel, int width, int height, int compression, TiffPlanarConfiguration planarConfiguration, ByteOrder byteOrder) int
Gets the height of individual tiles.int
Gets the width of individual tiles.boolean
-
Field Details
-
tiles
-
-
Constructor Details
-
Tiles
-
-
Method Details
-
getDataReader
public AbstractImageDataReader getDataReader(TiffDirectory directory, AbstractPhotometricInterpreter photometricInterpreter, int bitsPerPixel, int[] bitsPerSample, int predictor, int samplesPerPixel, int width, int height, int compression, TiffPlanarConfiguration planarConfiguration, ByteOrder byteOrder) throws IOException, ImagingException - Specified by:
getDataReader
in classAbstractTiffImageData
- Throws:
IOException
ImagingException
-
getImageData
- Specified by:
getImageData
in classAbstractTiffImageData
-
getTileHeight
Gets 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
-
getTileWidth
Gets 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
-
stripsNotTiles
- Specified by:
stripsNotTiles
in classAbstractTiffImageData
-