Sign In
New User? Sign Up
exiv2
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can set the sort order of messages? Just click on the link in the date column. Your preferences will be remembered, so you don't have to do it again when you return.

Messages

  Messages Help
Advanced
Adding Unique Tags   Message List  
Reply | Forward Message #1489 of 1513 |
Re: Adding Unique Tags

> I was trying to do this with the command line.

OATEST-02> exiv2 -M'reg ns myNamespace/' -M'set Xmp.ns.MyProperty
metadata' test.jpg
OATEST-02> exiv2 -M'set Iptc.0x00ff.0x1234 metadata' test.jpg
OATEST-02> exiv2 -pa test.jpg
Iptc.0x00ff.0x0034 String 8 metadata
Xmp.ns.MyProperty XmpText 8 metadata

> Maybe I should ask if it is better from a
> data intent standpoint if I should add my unique note data to the Iptc
> or XMP metadata?

That depends on what you're doing this for. If you're looking for
compatibility with other software, XMP is probably the best supported
and standardized way to add such custom tags. For compatibility with a
specific other program, just try it out. If you have thousands of
pictures and performance is an issue, IPTC would be better as
processing IPTC is faster than XMP.
etc

> exiv2 -M"add Iptc.User.Country String Canada" CRW_9003.THM
> -M option 1: Invalid key `Iptc.User.Country'

For IPTC custom keys, both the group ("User") and tag ("Country") must
be hex numbers (the group number is only a one byte number) and they
can not be associated with any group and tag names. See the example above.
XMP groups and tags on the other hand only have a name, no associated
number.
That's just how these metadata types are defined.

Andreas





Mon Jan 5, 2009 3:52 am

zzzahu
Offline Offline
Send Email Send Email

Forward
Message #1489 of 1513 |
Expand Messages Author Sort by Date

Hello, I tried to add new tags to the exif data of my digital images using exiv2 with no success. I looked at the code and it appears the only way to add tags...
Uniquely Creative
uniquelycrea...
Offline Send Email
Jan 4, 2009
10:48 pm

Hello John, ... [...] ... You can add unknown tags in existing groups using keys with hexadecimal tag numbers. Eg "Exif.Image.0x1234" There is no way to add...
Andreas Huggel
zzzahu
Offline Send Email
Jan 5, 2009
1:59 am

Andreas, Thanks for your reply. I forgot to mention I was trying to do this with the command line. I should have been more clear in that respect and provided...
uniquelycreative
uniquelycrea...
Offline Send Email
Jan 5, 2009
2:53 am

... OATEST-02> exiv2 -M'reg ns myNamespace/' -M'set Xmp.ns.MyProperty metadata' test.jpg OATEST-02> exiv2 -M'set Iptc.0x00ff.0x1234 metadata' test.jpg ...
Andreas Huggel
zzzahu
Offline Send Email
Jan 5, 2009
3:52 am
Advanced

Copyright © 2009 Yahoo! UK. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help