Matti Viljamaa <[email protected]> wrote: > I'm trying to handle CMYK images by converting them to RGB. I'm using the > following code snippet: [...] > if(image.mode == 'CMYK' ): > image.convert('RGB')
That would work, but you're throwing away the converted image and continuing with the original CMYK one. Image.convert() returns a new image and leaves the original alone! Charles -- ------------------------------------------------------------------ Charles Cazabon <[email protected]> Software, consulting, and services available at http://pyropus.ca/ ------------------------------------------------------------------ _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
