Regarding color conversion (RGB->CMYK)
Robert Kern
rkern at ucsd.edu
Sat Nov 13 05:36:43 EST 2004
Cy Edmunds wrote:
> There is no simple way to convert RGB to CMYK for the simple reason that
> CMYK is a device dependent color space. (Actually, unless it is calibrated
> somehow RGB is a device dependent color space also.) A good way to do the
> conversion is to get the ICC profile for the device that made the RGB and
> another ICC profile for the device which will print the CMYK and convert one
> to the other using a color management module -- aka a CMM. I don't know if
> ImageMagick can do this for you or not but it would be very hard to get the
> colors right any other way.
LittleCMS has Python bindings.
http://www.littlecms.com/
--
Robert Kern
rkern at ucsd.edu
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the Python-list
mailing list