[Image-SIG] PIL: Converting a JPEG from CMYK to RGB

Markus Kemmerling markus.kemmerling@mediaweb.at
Sun, 8 Jul 2001 13:39:45 +0200


When I convert a JPEG image from CMYK to RGB with PIL's convert()-method:
   image.convert('RGB')
it get's very dark and the colors aren't preserved at all.
Is there any way to preserve colors? I know from the PIL-handbook that there
is another version of convert(), which uses a conversion matrix. I don't
know if this would help and I wouldn't know how to construct the matrix to
'restore' the right colors. (As far as image processing is concerned, I am a
complete dummy.)

Markus Kemmerling