[Image-SIG] PIL 1.1.6 and convert cmyk jpegs to rgb and writing png files

Paul Egan paulegan at mail.com
Tue Mar 3 18:56:42 CET 2009


Just in case this CMYK patch does make it into the PIL svn repo...
there's a small bug: before calling invert, self.im should be checked.
This is necessary because the ImageFile.Parser.feed method tries an 
open() to see if the image is complete.

Attached is an updated patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PIL.JpegImagePlugin.diff
Type: text/x-diff
Size: 2154 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/image-sig/attachments/20090303/08705f12/attachment.diff>


More information about the Image-SIG mailing list