|
|
|
@ -628,6 +628,12 @@ internal static class TiffDecoderOptionsParser |
|
|
|
options.ColorType = TiffColorType.Rgb; |
|
|
|
} |
|
|
|
|
|
|
|
if (options.PhotometricInterpretation is TiffPhotometricInterpretation.YCbCr) |
|
|
|
{ |
|
|
|
options.YcbcrSubSampling[0] = 1; |
|
|
|
options.YcbcrSubSampling[1] = 1; |
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
|
|
|
|
@ -642,6 +648,12 @@ internal static class TiffDecoderOptionsParser |
|
|
|
options.ColorType = TiffColorType.Rgb; |
|
|
|
} |
|
|
|
|
|
|
|
if (options.PhotometricInterpretation is TiffPhotometricInterpretation.YCbCr) |
|
|
|
{ |
|
|
|
options.YcbcrSubSampling[0] = 1; |
|
|
|
options.YcbcrSubSampling[1] = 1; |
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
|
|
|
|
|