<div dir="ltr">The lead XMP namespace is "digiKam". We store all metadata that we cannot store in usual XMP namespaces. Start by this one.<div><br></div><div><a href="http://www.exiv2.org/tags-xmp-digiKam.html">http://www.exiv2.org/tags-xmp-digiKam.html</a><br></div><div><br></div><div>Gilles Caulier</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-27 20:14 GMT+01:00 Erick Moreno <span dir="ltr"><<a href="mailto:erickmoreno@gmail.com" target="_blank">erickmoreno@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Usually DK uses multiple places to save the same information to improve compatibility with other softwares (lightroom, acdsee...).<div><br></div><div>You can do the same, but I think you can start with <span style="font-size:12.8px">dc:description.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">According to the documentation: <a href="http://www.exiv2.org/sample.html" target="_blank">http://www.<wbr>exiv2.org/sample.html</a>  this must work:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">set Xmp.dc.description </span><span style="font-size:12.8px">This is a picture of a person</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">[]'s</span></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Dec 27, 2016 at 4:52 PM, Jim Gomi <span dir="ltr"><<a href="mailto:gomi@mailup.net" target="_blank">gomi@mailup.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-2899578936189924209HOEnZb"><div class="m_-2899578936189924209h5">On Tue, 2016-12-27 at 12:59 +1100, Simon Cropper wrote:<br>
> On 27/12/16 08:35, Jim Gomi wrote:<br>
> > How do I write a caption into a JPEG file's metadata in such a way<br>
> > that<br>
> > digikam will see it and recognize it as a Caption?<br>
> ><br>
> > I would like to do this using some scriptable method such as a<br>
> > python<br>
> > module or a command-line utility like exiftool or exiv2.<br>
> ><br>
> ><br>
>  <br>
> Hey Jim,<br>
><br>
> Back engineer the tag data.<br>
><br>
> Create a caption in digikam, save the data to the JPG file (normal<br>
> behaviour for digikam; see settings if this does not already happen)<br>
> then use exiftool (windows) or exiv2 (linux) to extract the metadata<br>
> and see what tag it was stored.<br>
><br>
> -- <br>
> Cheers Simon<br>
<br>
<br>
</div></div>I tried that. E.g., if I extract the metadata using<br>
exiv2 ex IMG_0910.JPG<br>
then I get a bunch of complicated stuff including:<br>
<br>
<rdf:li xml:lang="x-default">This is a picture of a person</rdf:li> <br>
<exif:UserComment> <rdf:Alt> <rdf:li xml:lang="x-default">This is a<br>
picture of a person</rdf:li> </rdf:Alt> </exif:UserComment><br>
<dc:description> <rdf:Alt> <rdf:li xml:lang="x-default">This is a<br>
picture of a person</rdf:li> </rdf:Alt> </dc:description><br>
<br>
So it seems that the caption has been placed in multiple tags, and I<br>
don't know how to write to those tags.<br>
<br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-2899578936189924209gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b>Erick Moreno</b><br><a href="https://google.com/+ErickMoreno/about" target="_blank">google.com/+ErickMoreno</a><br></div></div>
</font></span></div>
</blockquote></div><br></div>