[Digikam-devel] [Bug 287267] IptcCore tags are written incorrectly
Andreas Huggel
ahuggel at gmx.net
Mon Nov 28 03:15:27 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=287267
--- Comment #4 from Andreas Huggel <ahuggel gmx net> 2011-11-28 03:15:27 ---
Gilles,
This is how to add the CreatorContactInfo structure as far as I can tell:
// Add a creator contact info structure
xmpData["Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrCity"] = "Kuala
Lumpur";
xmpData["Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrCtry"] = "Malaysia";
xmpData["Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiUrlWork"] =
"http://www.exiv2.org";
The XMP-SDK serializes this to:
<Iptc4xmpCore:CreatorContactInfo
Iptc4xmpCore:CiAdrCity="Kuala Lumpur"
Iptc4xmpCore:CiAdrCtry="Malaysia"
Iptc4xmpCore:CiUrlWork="http://www.exiv2.org"/>
Andreas
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list