Page 1 of 1

CR2 file Keywords

Posted: 2010-06-17T13:50:59-07:00
by Bonzo
I have just added some tags/keywords to a CR2 file using Microsoft Pro Photo tools and I belive some other RAW tagging software uses the same system.

When I use

Code: Select all

identify -verbose IMG_0639.CR2
I get quite a lot of information but not the tags/keywords.

It looks like in this case these details are in an XML section at the end of the photo. Is this something you would consider adding to IM ?

First few lines:
Created Optional Item Data Canon RAW Codec 1.5.0.47<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax ... escription rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:d ... n><rdf:Alt xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:li xml:lang="x-default">Photo of a swan with a signet</rdf:li></rdf:Alt>
</dc:description></rdf:Description><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"><ph ... escription rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xm ... escription rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:exif="http://ns.adobe.com/exif/1.0/"><exif:GPSLatitude>

Re: CR2 file Keywords

Posted: 2010-06-17T14:45:14-07:00
by snibgo
As for the other topic, this might do the trick:

Code: Select all

convert in.jpg out.xmp