<html><body><div style="font-family: 'verdana'; font-size: 12px; color: #000;">
<div style="font-family: 'verdana'; font-size: 12px; color: #000;">Exactly. I have an old database from another programme and have created XMP files from it. I can use these XMP files for images that I don't yet have in Digikam without any problems. Unfortunately, some images need to be merged regarding the keywords. When I import a XMP file created from the old database into Digikam, the data in Digikam is overwritten. (At least, this is the case with the current process when I import XMP files into Digikam). I would like to know if it is possible to import XMP files without overwriting the internal Digikam tag data.</div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"> </div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;">It would definitely be technically feasible to write an XMP file from Digikam, identify the correct matches and add the tags from the old database. However, it would take me much longer than if I could import the old tags from the other programme into Digikam next to the existing ones and clean up the tags directly in Digikam.</div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"> </div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;">Best regards,</div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;">Thomas</div>
</div>
<div id="sub-body-container" style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229);">
<div style="margin: 0px 0px 10px;">
<div><strong>Gesendet: </strong>Donnerstag, 11. Dezember 2025 um 08:53</div>
<div><strong>Von: </strong>"Remco Viëtor" <remco.vietor@wanadoo.fr></div>
<div><strong>An: </strong>digikam-users@kde.org</div>
<div><strong>Betreff: </strong>Re: Import tags from a different database</div>
</div>
On jeudi 11 décembre 2025 06:58:57 heure normale d’Europe centrale Manuel Bock <br>wrote:<br>> Just take a dummy picture, tag it with all the tags you want to import and<br>> then import this picture into the new digikam collection.<br>> <br><br>That could work to transfer a keyword tree.<br><br>BUT: OP has images tagged with another (defunct) program and wants to transfer <br>the images *with their tags* to digikam. But the tags are only in an SQLite <br>database.<br><br>A solution would be to read the old database and create or update a sidecar <br>file. For that, OP would have to be familiar with SQLite (to read the tags) <br>and XML/XMP (to create/update sidecar files). Note that existing sidecars <br>should NOT be overwritten, just added to (unhandled XML tags should be <br>conserved). Digikam can then read the new and the updated sidecars.<br><br><br></div></body></html>