Migrating picture tags from KPhotoAlbum to digiKam (or others) through IPTC

I've occasionally used KPhotoAlbum for a few years and eventually added many tags to the pictures.

But I've decided I wanted to try other tools, and digiKam seems to be the best option from the many reviews I've read.

Still, there's apparently no automatic feature to import into digiKam the tags set in KPhotoAlbum.

Fortunately, some smart people have implemented Perl tools allowing to overcome this issue.

The process involves modifying the pictures to save the tags inside the files, using the IPTC standard. Then, digiKam will be able to load the tags from the modified files.

Here's a copy of the (translated) kphotoalbum2iptc.pl script (the original as in french) I copied from this blog post (in french too).

I've been able to generate .deb packages for the required 2 perl libs dependencies using the method described in the referenced post , with : dh-make-perl  --build --cpan Image::Kimdaba and dh-make-perl  --build --cpan Image::IPTCInfo

Thanks to Pierre Doucet and Bruno Adele for sharing this. Hope this helps.


1. Le mardi, avril 9 2013, 14:22 par jesper

I wonder how does it work, from reading the code it seems like the tags like "Location" is written as an IPTC tag, right? Does digikam pick that up automatically?

Reason for asking is that I for a long time have wanted to automate this from KPhotoAlbum, but never got around to figrre out exactly what to write to the IPCT.


2. Le jeudi, mars 17 2016, 08:56 par Gergoe

Salut Olivier,

do you happen to still have the translated perl script - the link mentioned above unfortunately is broken?

It seems I am in the same situation as you were a few years ago: added a lot of tags, and now need to switch to another tool...


Ajouter un commentaire

Le code HTML est affiché comme du texte et les adresses web sont automatiquement transformées.

La discussion continue ailleurs

URL de rétrolien : http://www.olivierberger.com/weblog/index.php?trackback/143

Fil des commentaires de ce billet