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, PhotometricInterpreter photometricInterpreter, int bitsPerPixel, int[] bitsPerSample, int predictor, int samplesPerPixel, int width, int height, int compression, TiffPlanarConfiguration planarConfiguration, ByteOrder byteOrder) intGets the height of individual tiles.intGets the width of individual tiles.boolean
-
Field Details
-
tiles
-
-
Constructor Details
-
Tiles
-
-
Method Details
-
getDataReader
public ImageDataReader getDataReader(TiffDirectory directory, PhotometricInterpreter photometricInterpreter, int bitsPerPixel, int[] bitsPerSample, int predictor, int samplesPerPixel, int width, int height, int compression, TiffPlanarConfiguration planarConfiguration, ByteOrder byteOrder) throws IOException, ImagingException - Specified by:
getDataReaderin classAbstractTiffImageData- Throws:
IOExceptionImagingException
-
getImageData
- Specified by:
getImageDatain 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:
stripsNotTilesin classAbstractTiffImageData
-