mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 03:55:28 -04:00
#220 PlanarConfiguration now default to 1 (Chunky) according to the TIFF 6.0 spec.
This commit is contained in:
parent
eeeb22666c
commit
a1de9ff448
@ -314,7 +314,7 @@ public class TIFFImageReader extends ImageReaderBase {
|
|||||||
readIFD(imageIndex);
|
readIFD(imageIndex);
|
||||||
|
|
||||||
int sampleFormat = getSampleFormat();
|
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 interpretation = getValueAsInt(TIFF.TAG_PHOTOMETRIC_INTERPRETATION, "PhotometricInterpretation");
|
||||||
int samplesPerPixel = getValueAsIntWithDefault(TIFF.TAG_SAMPLES_PER_PIXEL, 1);
|
int samplesPerPixel = getValueAsIntWithDefault(TIFF.TAG_SAMPLES_PER_PIXEL, 1);
|
||||||
int bitsPerSample = getBitsPerSample();
|
int bitsPerSample = getBitsPerSample();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user