Hi there,<div>I&#39;ve been using PIL for some time now and it works very well to rescale and watermark images, however recently I&#39;ve noticed that it doesn&#39;t preserve ICC colour profiles. I have this version (from Image.py):</div>
<div><div># 2005-03-28 fl &nbsp; PIL release 1.1.5</div></div><div><br class="webkit-block-placeholder"></div><div>For example:</div><div><br class="webkit-block-placeholder"></div><div><div>import Image</div><div>i = &quot;/path/to/input_image.jpg&quot;</div>
<div>o = &quot;/path/to/output_i,age.jpg&quot;</div><div><br class="webkit-block-placeholder"></div><div>im = Image.open(i)</div><div>im.save(o)</div><div><br class="webkit-block-placeholder"></div><div>input_image has the sRGB ICC profile, but now output_image has no profile (confirmed with photoshop).</div>
<div><br class="webkit-block-placeholder"></div><div>Is there any way to keep the existing profile, or copy it across so that save saves it?</div><div><br class="webkit-block-placeholder"></div><div>Many thanks,</div><div>
-Eric.</div><div><br></div></div>