mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-10 08:30:49 +03:00
Fixed typo
This commit is contained in:
parent
16b9cadd41
commit
8099d01349
|
@ -672,7 +672,7 @@ ImagingLibTiffDecode(
|
||||||
readAsRGBA = photometric == PHOTOMETRIC_YCBCR;
|
readAsRGBA = photometric == PHOTOMETRIC_YCBCR;
|
||||||
|
|
||||||
if (readAsRGBA && compression == COMPRESSION_JPEG && planarconfig == PLANARCONFIG_CONTIG) {
|
if (readAsRGBA && compression == COMPRESSION_JPEG && planarconfig == PLANARCONFIG_CONTIG) {
|
||||||
// If using new JPEG compression, let libjpeg do RGB convertion for performance reasons
|
// If using new JPEG compression, let libjpeg do RGB conversion for performance reasons
|
||||||
TIFFSetField(tiff, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB);
|
TIFFSetField(tiff, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB);
|
||||||
readAsRGBA = 0;
|
readAsRGBA = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user