public final class DataReaderStrips extends ImageDataReader
bitsPerSampleLength, directory, height, photometricInterpreter, predictor, sampleFormat, samplesPerPixel, width| Constructor and Description |
|---|
DataReaderStrips(TiffDirectory directory,
PhotometricInterpreter photometricInterpreter,
int bitsPerPixel,
int[] bitsPerSample,
int predictor,
int samplesPerPixel,
int sampleFormat,
int width,
int height,
int compression,
ByteOrder byteOrder,
int rowsPerStrip,
TiffImageData.Strips imageData) |
| Modifier and Type | Method and Description |
|---|---|
void |
readImageData(ImageBuilder imageBuilder) |
BufferedImage |
readImageData(Rectangle subImage) |
TiffRasterData |
readRasterData(Rectangle subImage)
Defines a method for accessing the floating-point raster data in a TIFF
image.
|
applyPredictor, decompress, isHomogenous, resetPredictor, unpackFloatingPointSamplespublic DataReaderStrips(TiffDirectory directory, PhotometricInterpreter photometricInterpreter, int bitsPerPixel, int[] bitsPerSample, int predictor, int samplesPerPixel, int sampleFormat, int width, int height, int compression, ByteOrder byteOrder, int rowsPerStrip, TiffImageData.Strips imageData)
public void readImageData(ImageBuilder imageBuilder) throws ImageReadException, IOException
readImageData in class ImageDataReaderImageReadExceptionIOExceptionpublic BufferedImage readImageData(Rectangle subImage) throws ImageReadException, IOException
readImageData in class ImageDataReaderImageReadExceptionIOExceptionpublic TiffRasterData readRasterData(Rectangle subImage) throws ImageReadException, IOException
ImageDataReaderreadRasterData in class ImageDataReadersubImage - if non-null, instructs the access method to retrieve only
a sub-section of the image data.ImageReadException - in the event of an incompatible data form.IOException - in the event of I/O error.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.