Re: Stripping sRGB profile from PNGs in python

2015-07-23 Thread Laura Creighton
To scale images, you should get Pillow, which can construct new images based on old ones for arbitrary size. see: http://pillow.readthedocs.org/en/latest/reference/Image.html Pillow is a fork of PIL. PIL isn't being maintained, Pillow is. Note that reading this is a good idea: http://united-code

Re: Stripping sRGB profile from PNGs in python

2015-07-23 Thread Emile van Sebille
On 7/23/2015 10:31 AM, Ryan Holmes wrote: We're getting this error when trying to load some of out projects images: libpng warning: iCCP: known incorrect sRGB profile The source files that we have some with incorrect sRGB profiles. We don't have control over the source files, but what we