Class TiffImageData.Tiles

java.lang.Object
org.apache.commons.imaging.formats.tiff.TiffImageData
org.apache.commons.imaging.formats.tiff.TiffImageData.Tiles
Enclosing class:
TiffImageData

public static class TiffImageData.Tiles extends TiffImageData
  • Field Details

    • tiles

      public final TiffElement.DataElement[] tiles
    • tileWidth

      private final int tileWidth
    • tileLength

      private final int tileLength
  • Constructor Details

  • Method Details

    • getImageData

      public TiffElement.DataElement[] getImageData()
      Specified by:
      getImageData in class TiffImageData
    • stripsNotTiles

      public boolean stripsNotTiles()
      Specified by:
      stripsNotTiles in class TiffImageData
    • 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 class TiffImageData
      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