Closed donaldgray closed 1 year ago
Handle alternative image_modes - predominately CMYK. Outline of changes:
_uncompress_tiff
_convert_img_colour_profile
PIL.TiffImagePlugin.TiffImageFile
Other changes:
I;16B
.lower()
.TIF
.tif
Handle alternative image_modes - predominately CMYK. Outline of changes:
_uncompress_tiff
check if the image_mode is a known type. If not:_convert_img_colour_profile
to change it to RGB and savePIL.TiffImagePlugin.TiffImageFile
and access to tagsOther changes:
I;16B
to known image_types. KDU handles these okay but Pillow only has limited support, conversion results in distorted image..lower()
on suffix to handle, e.g..TIF
as.tif
.