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

For example:

import Image
i = "/path/to/input_image.jpg"
o = "/path/to/output_i,age.jpg"

im = Image.open(i)
im.save(o)

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?

Many thanks,
-Eric.
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to