# HG changeset patch # User nadvornik # Date 1237330987 0 # Node ID 8178ef34d25758d79d5fefbfe5e2fb549ce092a0 # Parent 8c7bb5c1fb9c5f131a2c5bb9ed9b9da44470a2a3 added more IPTC tags diff -r 8c7bb5c1fb9c -r 8178ef34d257 src/exiv2.cc --- a/src/exiv2.cc Tue Mar 17 22:41:09 2009 +0000 +++ b/src/exiv2.cc Tue Mar 17 23:03:07 2009 +0000 @@ -76,13 +76,31 @@ /* this is a list of keys that should be converted, even with the older Exiv2 which does not support it directly */ static const AltKey alt_keys[] = { - {"Xmp.tiff.Orientation", "Exif.Image.Orientation", NULL}, - {"Xmp.dc.subject", NULL, "Iptc.Application2.Keywords"}, - {"Xmp.dc.description", NULL, "Iptc.Application2.Caption"}, + {"Xmp.tiff.Orientation", "Exif.Image.Orientation", NULL}, + {"Xmp.dc.title", NULL, "Iptc.Application2.ObjectName" }, + {"Xmp.photoshop.Urgency", NULL, "Iptc.Application2.Urgency" }, + {"Xmp.photoshop.Category", NULL, "Iptc.Application2.Category" }, + {"Xmp.photoshop.SupplementalCategory", NULL, "Iptc.Application2.SuppCategory" }, + {"Xmp.dc.subject", NULL, "Iptc.Application2.Keywords" }, + {"Xmp.iptc.Location", NULL, "Iptc.Application2.LocationName" }, + {"Xmp.photoshop.Instruction", NULL, "Iptc.Application2.SpecialInstructions" }, + {"Xmp.photoshop.DateCreated", NULL, "Iptc.Application2.DateCreated" }, + {"Xmp.dc.creator", NULL, "Iptc.Application2.Byline" }, + {"Xmp.photoshop.AuthorsPosition", NULL, "Iptc.Application2.BylineTitle" }, + {"Xmp.photoshop.City", NULL, "Iptc.Application2.City" }, + {"Xmp.photoshop.State", NULL, "Iptc.Application2.ProvinceState" }, + {"Xmp.iptc.CountryCode", NULL, "Iptc.Application2.CountryCode" }, + {"Xmp.photoshop.Country", NULL, "Iptc.Application2.CountryName" }, + {"Xmp.photoshop.TransmissionReference", NULL, "Iptc.Application2.TransmissionReference"}, + {"Xmp.photoshop.Headline", NULL, "Iptc.Application2.Headline" }, + {"Xmp.photoshop.Credit", NULL, "Iptc.Application2.Credit" }, + {"Xmp.photoshop.Source", NULL, "Iptc.Application2.Source" }, + {"Xmp.dc.rights", NULL, "Iptc.Application2.Copyright" }, + {"Xmp.dc.description", NULL, "Iptc.Application2.Caption" }, + {"Xmp.photoshop.CaptionWriter", NULL, "Iptc.Application2.Writer" }, {NULL, NULL, NULL} }; - struct _ExifData { Exiv2::ExifData::const_iterator exifIter; /* for exif_get_next_item */