Posted on 2010-02-06 21:01:21.389259-08 by dschless
XMP to IPTC Keywords

I have a JPG image with the following XMP information. Is it possible to copy the two Region Person Display Name values (note one of the values contains a comma) to the IPTC:Keywords field using exiftool?

Thanks,

Dan Schless

exiftool -XMP-MP:all people.jpg Region Rectangle : 0.268786, 0.167144, 0.277457, 0.183381, 0.598266, 0.424069, 0.209 +538, 0.138491 Region Person Display Name : Fred Flintstone, Patriarch, Betty Boop exiftool -XMP-MP:all -X people.jpg <?xml version='1.0' encoding='UTF-8'?> <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'> <rdf:Description rdf:about='people.jpg' xmlns:et='http://ns.exiftool.ca/1.0/' et:toolkit='Image::ExifTool 8.07' xmlns:XMP-MP='http://ns.exiftool.ca/XMP/XMP-MP/1.0/'> <XMP-MP:RegionRectangle> <rdf:Bag> <rdf:li>0.268786, 0.167144, 0.277457, 0.183381</rdf:li> <rdf:li>0.598266, 0.424069, 0.209538, 0.138491</rdf:li> </rdf:Bag> </XMP-MP:RegionRectangle> <XMP-MP:RegionPersonDisplayName> <rdf:Bag> <rdf:li>Fred Flintstone, Patriarch</rdf:li> <rdf:li>Betty Boop</rdf:li> </rdf:Bag> </XMP-MP:RegionPersonDisplayName> </rdf:Description> </rdf:RDF>
Direct Responses: 12332 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.