I just finalized the code to set and get the IPTC XML data set into digiKam core.<br><br>The XML data format is given below :<br><br><?xml version="1.0" encoding="UTF-8"?><br><digikamproperties>
<br> <comments value="A cool photo from Adrien..." /><br> <date value="2006-11-23T13:36:26" /><br> <rating value="4" /><br> <tagslist><br>  <tag path="gilles/adrien/testphoto" />
<br>  <tag path="monuments/Trocadero/Tour Eiffel" /><br>  <tag path="City/Paris" /><br> </tagslist><br></digikamproperties><br><br>Gilles<br><br><div><span class="gmail_quote">2007/3/14, Gilles Caulier <
<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">After investaguations, i can said than Exif is not the good place to do it. 
<br><br>IPTC/IIM sound fine to store this data, especially because storing Exif to TIFF/DNG file is the hell with libtiff (Andreas, i'm waiting to have Exiv2 TIFF writting (:=))))... but libtiff can store IPTC very well.
<br><br>Other stuff is to convert pictures using ImageMagick. Like ImageMagick use libtiff internally, we can only use IPTC to not lost these data...<br><br>I will store a zlib compressed byte array of XML data (not real XMP, just an simple XML schema to store digiKam properties).
<br><br>I have take a look witch IPTC/IIM tags are free for use, reading ExifTool database and others web page.<br><br>The "Iptc.Application2.0x00ff" sound good. Like IPTC will not be used anymore with new photo management application, the chance to have this tag used by another software is very limited.
<br><br>This is an example of the content of the uncompressed tag :<br><br><!DOCTYPE XMLImageProperties><br><imageproperties version="1" client="digikam" encoding="UTF-8" /><br><properties comments="Ceci est un test en utilisant des caractères accentués..." rating="4" date="2006-11-23T13:36:26" >
<br> <tagslist><br>  <tag path="Communications" /><br>  <tag path="aaa/bbb/ccc" /><br>  <tag path="bbb/ccc/ddd" /><br>  <tag path="bbb/ccc/ddd/Paris" />
<br>  <tag path="bbb/ccc/ddd/Paris/bjwdfkjhjbdqjfihbdqfdwbf" /><br>  <tag path="City" /><br>  <tag path="City/London" /><br>  <tag path="City/New York" /><br>

  <tag path="City/Paris" /><br> </tagslist><br></properties><br><br>For this example the compressed data use only 374 bytes in the tag. It's small (better than XMP can use for the same content)
<br><br>What do you think about ?<br><br>Gilles<br><br><br><div><span class="gmail_quote">2007/3/12, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
caulier.gilles@gmail.com</a>>:</span><div><span class="e" id="q_11150435fd481460_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Right. Thanks for this tips. I will do some investigations.<br><br>Gilles<br><br><div><span class="gmail_quote">2007/3/12, Andreas Huggel <<a href="mailto:ahuggel@gmx.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

ahuggel@gmx.net</a>>:</span><div><span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Monday 12 March 2007 00:29, Gilles Caulier wrote:<br>> Andreas,<br>><br>> if you talking about Interroperability directory, witch tag number<br>> you recommend to use ?<br>><br>> In Exiftool database, i can see 5 tags :
<br>><br>> 0x0001, 0x0002, 0x1000, 0x1001, and 0x1002.<br>><br><br>The Exiv2 taglist has the same 5 IOP tags. The Exif standard actually<br>only has tag 0x0001. Thus, the good thing about this directory is that<br>


it's not widely used, so there is less potential for a conflict; choose<br>a random number and chances are good that nobody else will use the same<br>tag. On the other hand, maybe because the IOP directory is not widely
<br>used, there is a possibility that it is not well supported by other<br>software. So you may want to test if applications that attempt to write<br>Exif tags manage to write the IOP directory as well.<br><br>-ahu.<br>_______________________________________________
<br>Digikam-devel mailing list<br><a href="mailto:Digikam-devel@kde.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Digikam-devel@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/digikam-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
</blockquote></span></div></div><br>
</blockquote></span></div></div><br>
</blockquote></div><br>