[Image-SIG] Convert to CMYK

Kevin@Cazabon.com kevin@cazabon.com
Fri, 5 Jul 2002 20:58:46 -0600


The built-in RGB/CMYK conversion in PIL is not an optomized one... there's
no GCR/UCR, it's basically a RGB/CMY flop.

Formulas for UCR/GCR are fairly easily available, maybe we should look at
implementing a tunable conversion method in the core of PIL?  I've mentioned
this before, I just haven't had the time to do anything myself yet...

Kevin.


----- Original Message -----
From: "Hans Svedåker" <hans.svedaker@bytbil.com>
To: "image-sig" <image-sig@python.org>
Sent: Thursday, July 04, 2002 1:43 AM
Subject: [Image-SIG] Convert to CMYK


> Hi
>
> I'm trying to convert JPG image to CMYK format. And it works fine,
> except for one thing. When there is black (or gray) in the image it is
> converted to (255,255,255,0) instead of (0,0,0,255). There are never any
>   black in the image, insted i blends max cyan, magenta and yellow to
> get black. How shuld i do to get that?
>
> /Hans Svedåker
>
>
>
> _______________________________________________
> Image-SIG maillist  -  Image-SIG@python.org
> http://mail.python.org/mailman/listinfo/image-sig
>