[Image-SIG] Anyway to keep ICC profiles intact (e.g. sRGB)?
eric at bright-interactive.com
Sun Jun 1 23:44:10 CEST 2008
Hi there,I've been using PIL for some time now and it works very well to
rescale and watermark images, however recently I've noticed that it doesn't
preserve ICC colour profiles. I have this version (from Image.py):
# 2005-03-28 fl PIL release 1.1.5
i = "/path/to/input_image.jpg"
o = "/path/to/output_i,age.jpg"
im = Image.open(i)
input_image has the sRGB ICC profile, but now output_image has no profile
(confirmed with photoshop).
Is there any way to keep the existing profile, or copy it across so that
save saves it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Image-SIG