<p>The current driver stores the tags in the info dictionary which is just a collection of random stuff found by the format driver. Since that can contain anything, including properties that depend on the image size or contents, it's not preserved by internal operations, and not used by default when saving an image.</p>
<p>The upcoming 1.1.7 release will improve things a bit; data from text chunks are now mirrored in a separate dictionary, and I will add a text option to the save method.</p>
<p></F></p>
<p> </p>
<p><blockquote>On Mar 18, 2009 2:43 PM, "Kent Tenney" <<a href="mailto:ktenney@gmail.com">ktenney@gmail.com</a>> wrote:<br><br>Howdy,<br>
<br>
I work with png's which have tEXt chunks containing metadata.<br>
PIL discards them upon open .. save.<br>
<br>
Might it be desirable for core save() to check for extra chunks<br>
and preserve them if found?<br>
<br>
Thanks,<br>
Kent<br>
_______________________________________________<br>
Image-SIG maillist - <a href="mailto:Image-SIG@python.org">Image-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/image-sig" target="_blank">http://mail.python.org/mailman/listinfo/image-sig</a><br>
</blockquote></p>