[Image-SIG] Creating a 187x250 thumbnail from this (CMYK) JPG results in a 1.91 MB PNG; 32-bit data written instead of reported 24-bit?
C. Timmerman
ctimmerman2 at gmail.com
Thu Jun 9 16:21:36 CEST 2011
On Thu, Jun 9, 2011 at 3:03 PM, Eric <svvampy at gmail.com> wrote:
>
> I don't know how to remove embedded colour profiles in PIL, I use
> GraphicsMagick <http://www.graphicsmagick.org/> for some other things and
> it has a convenient method to remove embedded colour profiles. According to
> gm, the embedded colour profile is 2,129,216 bytes
>
Thank you. PIL doesn't appear to use the embedded color profile (despite the
ImageCMS module), so now i just remove it before saving: im.info = {}
If marketing has issues with neon-colored thumbnails in the newsletter, i'll
use Paint.NET.
Regards,
Cees
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20110609/59da1f38/attachment.html>
More information about the Image-SIG
mailing list