Matti Viljamaa <mvilja...@kapsi.fi> 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 <charlesc-pyimage...@pyropus.ca> Software, consulting, and services available at http://pyropus.ca/ ------------------------------------------------------------------ _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig