ExifTool Forum

ExifTool => Newbies => Topic started by: sanddancer on February 01, 2011, 11:44:20 AM

Title: Newbie Command line problem IPTC
Post by: sanddancer on February 01, 2011, 11:44:20 AM
I just installed the latest version and am having a problem writing any IPTC data to my files.
Am I missing a trick?

Command lines are:

E:\Test>exiftool.pl -Caption="Purchase 3M Waste Pipe from www.discountedheating.co.uk" -m -o updated/ 3m-Waste-Pipe-4994.jpg
    1 image files created

E:\Test>exiftool.pl -IPTC:Caption="Purchase 3M Waste Pipe from www.discountedheating.co.uk" -m -o updated/ 3m-Waste-Pipe-4994.jpg
Warning: Tag 'IPTC:Caption' does not exist
    1 image files copied

E:\Test>exiftool.pl -XMP:Caption="Purchase 3M Waste Pipe from www.discountedheating.co.uk" -m -o updated/ 3m-Waste-Pipe-4994.jpg
    1 image files created

The first and last create the Caption in XMP

e.g
Code: [Select]
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 8.47'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

 <rdf:Description rdf:about=''
  xmlns:acdsee='http://ns.acdsee.com/iptc/1.0/'>
  <acdsee:caption>Purchase 3M Waste Pipe from www.discountedheating.co.uk</acdsee:caption>
 </rdf:Description>
</rdf:RDF>
</x:xmpmeta>
The second one makes no change at all.

Start Image attached


Thanks in advance
Title: Re: Newbie Command line problem IPTC
Post by: Phil Harvey on February 01, 2011, 11:51:16 AM
The problem is simple:  The IPTC tag is named "Caption-Abstract", not "Caption".

When in doubt, check the IPTC Tag Name documentation (https://exiftool.org/TagNames/IPTC.html).

- Phil
Title: Re: Newbie Command line problem IPTC
Post by: sanddancer on February 01, 2011, 11:58:41 AM
!! Doh !!

Thanks Phil, had tried that earlier when i had other errors using the windows  .exe version, but didnt go back to it once i installed the perl version.

Best regards
Graeme

Title: Re: Newbie Command line problem IPTC
Post by: Phil Harvey on February 01, 2011, 12:51:22 PM
Hi Graeme,

One more point: I should have maybe asked if you really want to be writing XMP-acdsee:Caption.  The XMP analogue to IPTC:Caption-Abstract is XMP-dc:Description.

- Phil