<div dir="ltr">Hi,<div><br></div><div>N:/ is a local drive or a remote drive ?</div><div><br></div><div>What's about the naming scheme used with image file and xmp sidecar ?</div><div><br></div><div>What's about the DK setup metadata settings exactly ?</div><div><br></div><div>There is no reason to see a difference between JPEG and TIFF about the XMP sidecar.</div><div><br></div><div>Can you share the images including the XMP sidecars to try to reproduce under linux ?</div><div><br></div><div>About the code, the core implementation of metadata management is delegate to Exiv2 shared library. For all bundles, we use last stable 0.26.</div><div><br></div><div>In DK core, we have a Qt wrapper located here :</div><div><br></div><div><a href="https://phabricator.kde.org/source/digikam/browse/master/core/libs/dmetadata/">https://phabricator.kde.org/source/digikam/browse/master/core/libs/dmetadata/</a><br></div><div><br></div><div>The read/write operation, including XMP sidecar management is routed in this implementation :</div><div><br></div><div><a href="https://phabricator.kde.org/source/digikam/browse/master/core/libs/dmetadata/metaengine.cpp$268">https://phabricator.kde.org/source/digikam/browse/master/core/libs/dmetadata/metaengine.cpp$268</a><br></div><div><br></div><div>You have a section about XMP support which will call dedicated methods from Exiv2.</div><div><br></div><div>In top level of this class we have a hub to branch metadata type depending of user settings from DK setup dialog. It's more complicated, but as i see, the problem is more in low level for the moment.</div><div><br></div><div>Best</div><div><br></div><div>Gilles Caulier</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-06-30 3:24 GMT+02:00 Frank Uzzolino <span dir="ltr"><<a href="mailto:frank.jpf1@gmail.com" target="_blank">frank.jpf1@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"><div>Hi everyone,</div><div><br></div><div>I've been playing around with digikam for about a year and am ready to convert my Picasa library. While testing, the face and name metadata for JPGs converted fine, however the TIFF file info was not. I have XMP sidecar files for every photo, and the data is present in the XMPs for both JPG and TIFF files. <br></div><div><br></div><div>From the debug log, it appears the metaengine is not reading all the data from the XMPs. (I've included pieces of the debug log at the end of this email).</div><div><br></div><div>I just started digging through the code, but if anyone has seen this before, it would be a big help.</div><div><br></div><div>Thanks,</div><div><br></div><div>-Frank</div><div><br></div><div>---------<br></div><div><br></div><div>"Good" file (i.e. JPG)</div><div><br></div><div>*00456102 1692.69323730 [6224] digikam.dimg: "N:/MediaDk/Master/Pictures/<wbr>Scanned Prints/testfile1.jpg" : JPEG file identified <br>*00456103 1692.69677734 [6224] digikam.database: Adding new item "N:/MediaDk/Master/Pictures/<wbr>Scanned Prints/testfile1.jpg" <br> 00456104 1692.69714355 [6224] digikam.metaengine: DateTime => Xmp.xmp.ModifyDate => QDateTime(2017-04-17 00:37:54.000 UTC-04:00 Qt::TimeSpec(OffsetFromUTC) -14400 s ) <br> 00456105 1692.69726563 [6224] digikam.metaengine: DateTime => Xmp.xmp.ModifyDate => QDateTime(2017-04-17 00:37:54.000 UTC-04:00 Qt::TimeSpec(OffsetFromUTC) -14400 s ) <br> 00456106 1692.69934082 [6224] digikam.metaengine: "N:/MediaDk/Master/Pictures/<wbr>Scanned Prints/testfile1.jpg" ==> Read Iptc Keywords: () <br> 00456107 1692.69970703 [6224] digikam.metaengine: Found new rect "Last1, FirstName1" QRectF(0.602719,0.240537 0.10423x0.11931) <br> 00456108 1692.69982910 [6224] digikam.metaengine: Found new rect "Last2, FirstName2" QRectF(0.588117,0.428845 0.103223x0.117393) <br> 00456109 1692.69995117 [6224] digikam.metaengine: Found new rect "Last3, FirstName3" QRectF(0.47583,0.511739 0.109265x0.124581) <br> 00456110 1692.70007324 [6224] digikam.metaengine: Loading image history "" <br>*00456111 1692.70031738 [6224] digikam.database: Scanning took 7 ms <br> 00456112 1692.70043945 [6224] digikam.database: Candidate with set full name: 87 "Last1, FirstName1" <br> 00456113 1692.70043945 [6224] digikam.database: Adding face with rectangle QRect(1197,502 207x249) to database <br> 00456114 1692.70080566 [6224] digikam.database: Candidate with set full name: 29 "Last2, FirstName2" <br> 00456115 1692.70092773 [6224] digikam.database: Adding face with rectangle QRect(1168,895 205x245) to database <br> 00456116 1692.70104980 [6224] digikam.database: Candidate with set full name: 63 "Last3, FirstName3" <br> 00456117 1692.70129395 [6224] digikam.database: Adding face with rectangle QRect(945,1068 217x260) to database <br>*00456118 1692.70141602 [6224] digikam.database: Finishing took 0 ms <br></div><div><br></div><div><br></div><div>"Bad" file (i.e. TIFF)<br></div><div><br>*00483002 1786.14965820 [6224] digikam.dimg: "N:/MediaDk/Master/Pictures/<wbr>Scanned Prints/testfile2..tif" : TIFF file identified <br>*00483003 1786.15100098 [6224] digikam.database: Adding new item "N:/MediaDk/Master/Pictures/<wbr>Scanned Prints/testfile2.tif" <br> 00483004 1786.15136719 [6224] digikam.metaengine: Orientation => Exif.Image.Orientation => 1 <br>*00483005 1786.15234375 [6224] digikam.database: Scanning took 16 ms <br>*00483006 1786.15283203 [6224] digikam.database: Finishing took 0 ms <br></div></div>
</blockquote></div><br></div>