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.
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. </F> On Mar 18, 2009 2:43 PM, "Kent Tenney" <[email protected]> wrote: Howdy, I work with png's which have tEXt chunks containing metadata. PIL discards them upon open .. save. Might it be desirable for core save() to check for extra chunks and preserve them if found? Thanks, Kent _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
_______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
