PIL question: keeping metadata

Ivan Herman ivan at ivan-herman.net
Wed Jun 29 11:57:05 EDT 2005


A question on using the PIL library. If I take a jpg file then, say, resize it and save it
somewhere else, all metadata that is part of the jpg file is lost. This is a pity: digital
cameras routinely add metainformation, so does, for example, Photoshop.

Is there any way of keeping this info in PIL? Alternatively, is there a simple image
processing package that does it?

Ivan



More information about the Python-list mailing list