I ran into a similar problems with CMYK and I think it's because libjpeg doesn't interpret the CMYK data correctly (possibly stripping a color profile). This is easily verified using libjpeg standalone tools (like jpegtran that you can compile when compiling libjpeg).
On the other hand, using ImageMagick python bindings (PythonMagick) worked fine (I assume ImageMagick doesn't rely on libjpeg). However it is my understanding that PythonMagick is unfortunately not fully fonctional and barely documented. ----- Original Message ---- From: Tim Hatch <t...@timhatch.com> To: image-sig <image-sig@python.org> Sent: Monday, March 2, 2009 11:32:32 AM Subject: Re: [Image-SIG] playing with CMYK images > i have just tried using PIL to crop and resize CMYK images (with CMYK as end > result, no color mode conversion). I must say i was surprised how awfull the > result look. Even though PIL is not supposed to touch the color mode, colors > is totally fucked up in the modified image. Can you provide an example of your image and your cropping script? The first thing that comes to mind is that there is a color profile attached to the original, and it's being stripped. Tim _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig