You are not logged in.
Pages: 1
I want to write a simple tool to tag my images. I was looking at the pyexiv2 library, which is built on top of the exiv2 lib.
However, I do not know which metadata key to use to store tags. I tried these:
1. Exif.Photo.UserComment
2. Iptc.Application2.Keywords
3. getComment() - which is some comment that is neither exif nor iptc. Not sure where this comes from.
However, when I open the image in question with gqview, I see nothing in the exif information. Also, I added a comment with gqview, and I can't see it using pyexiv2.
tl;dr - which exif/iptc key is for adding tags/keywords to an image?
EDIT: I looked at the tag list and both options 1 and 2 are for storing user tags. However this question remains - which one gives more compatibility with image viewers and more unversal?
P.S.: Feel free to move to general programming if needed.
Last edited by spupy (2009-11-29 18:51:41)
There are two types of people in this world - those who can count to 10 by using their fingers, and those who can count to 1023.
Offline
Pages: 1