[Image-SIG] playing with CMYK images

2009-03-02 Thread Ask Holme
Hey list 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. Is that

Re: [Image-SIG] playing with CMYK images

2009-03-02 Thread Charlie Clark
Am 27.02.2009 um 19:09 schrieb Ask Holme: Hey list 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

Re: [Image-SIG] playing with CMYK images

2009-03-02 Thread Tim Hatch
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

Re: [Image-SIG] playing with CMYK images

2009-03-02 Thread David Berthelot
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

Re: [Image-SIG] playing with CMYK images

2009-03-02 Thread Kevin Cazabon
The jpeg plugin doesn't handle CMYK properly - I've posted patches in the past... trivial to fix. Kevin. On 02 Mar 2009, at 14:04, Charlie Clark wrote: Am 27.02.2009 um 19:09 schrieb Ask Holme: Hey list i have just tried using PIL to crop and resize CMYK images (with CMYK as end

Re: [Image-SIG] playing with CMYK images

2009-03-02 Thread David Berthelot
Thanks for the explanation, I followed your link to the thread but I couldn't find the attachement you mentioned in it (because I'd like to use your patch !). Is PIL still maintained (considering the patch is 3 years old) ? Or is there a specific reason it's not included in PIL ? -

Re: [Image-SIG] playing with CMYK images

2009-03-02 Thread Tim Hatch
Thanks for the explanation, I followed your link to the thread but I couldn't find the attachement you mentioned in it (because I'd like to use your patch !). Try http://mail.python.org/pipermail/image-sig/2006-April/003871.html instead. Tim