Class DataReaderTiled
- java.lang.Object
-
- org.apache.commons.imaging.formats.tiff.datareaders.ImageDataReader
-
- org.apache.commons.imaging.formats.tiff.datareaders.DataReaderTiled
-
public final class DataReaderTiled extends ImageDataReader
-
-
Field Summary
-
Fields inherited from class org.apache.commons.imaging.formats.tiff.datareaders.ImageDataReader
bitsPerSampleLength, directory, height, photometricInterpreter, predictor, samplesPerPixel, width
-
-
Constructor Summary
Constructors Constructor Description DataReaderTiled(TiffDirectory directory, PhotometricInterpreter photometricInterpreter, int tileWidth, int tileLength, int bitsPerPixel, int[] bitsPerSample, int predictor, int samplesPerPixel, int width, int height, int compression, ByteOrder byteOrder, TiffImageData.Tiles imageData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
readImageData(Rectangle subImage)
void
readImageData(ImageBuilder imageBuilder)
-
Methods inherited from class org.apache.commons.imaging.formats.tiff.datareaders.ImageDataReader
applyPredictor, decompress, isHomogenous, resetPredictor
-
-
-
-
Constructor Detail
-
DataReaderTiled
public DataReaderTiled(TiffDirectory directory, PhotometricInterpreter photometricInterpreter, int tileWidth, int tileLength, int bitsPerPixel, int[] bitsPerSample, int predictor, int samplesPerPixel, int width, int height, int compression, ByteOrder byteOrder, TiffImageData.Tiles imageData)
-
-
Method Detail
-
readImageData
public void readImageData(ImageBuilder imageBuilder) throws ImageReadException, IOException
- Specified by:
readImageData
in classImageDataReader
- Throws:
ImageReadException
IOException
-
readImageData
public BufferedImage readImageData(Rectangle subImage) throws ImageReadException, IOException
- Specified by:
readImageData
in classImageDataReader
- Throws:
ImageReadException
IOException
-
-