Stripping sRGB profile from PNGs in python
lac at openend.se
Thu Jul 23 20:16:46 CEST 2015
To scale images, you should get Pillow, which can construct new images
based on old ones for arbitrary size. see:
Pillow is a fork of PIL. PIL isn't being maintained, Pillow is.
Note that reading this is a good idea:
It even has some code that you can probably use, though I haven't tested it.
It just, ah, looks right. :)
More information about the Python-list