Is it possible to add IPTC data to a JPG using python when no such data already exists?

Posted by ventolin on Stack Overflow See other posts from Stack Overflow or by ventolin
Published on 2010-05-05T16:45:49Z Indexed on 2010/05/05 16:48 UTC
Read the original article Hit count: 244

Filed under:
|
|
|
|

With the IPTCInfo module under Python (http://snippets.dzone.com/posts/show/768 for more info) it's possible to read, modify and write IPTC info to pictures.

However, if a JPG doesn't already have IPTC information, the module simply raises an exception. It doesn't seem to be able to create and add this metadata information itself.

What alternatives are there? I've googled for the past hour but to no avail whatsoever.

© Stack Overflow or respective owner

Related posts about python

Related posts about iptc