#220 PlanarConfiguration now default to 1 (Chunky) according to the TIFF 6.0 spec.

This commit is contained in:
Harald Kuhr 2016-02-11 16:49:50 +01:00
parent eeeb22666c
commit a1de9ff448

View File

@ -314,7 +314,7 @@ public class TIFFImageReader extends ImageReaderBase {
readIFD(imageIndex);
int sampleFormat = getSampleFormat();
int planarConfiguration = getValueAsIntWithDefault(TIFF.TAG_PLANAR_CONFIGURATION, TIFFExtension.PLANARCONFIG_PLANAR);
int planarConfiguration = getValueAsIntWithDefault(TIFF.TAG_PLANAR_CONFIGURATION, TIFFBaseline.PLANARCONFIG_CHUNKY);
int interpretation = getValueAsInt(TIFF.TAG_PHOTOMETRIC_INTERPRETATION, "PhotometricInterpretation");
int samplesPerPixel = getValueAsIntWithDefault(TIFF.TAG_SAMPLES_PER_PIXEL, 1);
int bitsPerSample = getBitsPerSample();