Import XMP in digiKam

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Import XMP in digiKam

Dmitri Popov
Hello,

I'm using the RawDroid app on an Android device to assign color labels and ratings to RAW files when I'm on the move. The app stores these data in Adobe Lightroom-compatible XMP sidecars. I'd like to import labels and ratings into RAW files after I've transferred them to digiKam. I tried the Import XMP feature in digiKam to import the sidecars generated by RawDroid, but neither labels nor ratings were transferred. Am I doing something wrong?

Thank you!

Best,
Dmitri

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Import XMP in digiKam

Gilles Caulier-4
Hi Dmitri,

I suppose that you turn on XMP sidecar supports in digiKam/Metadata
setup page... At least "Reading from sidecar files" option must be
enabled.

If your image is already imported, force digiKam to read-metadata
after to change metadata settings. Go to AlbumGUI/Captions&Tags right
sidebar, select you images and run "More/Read Metadata..." (button on
bottom of sidebar).

Note : for a huge images collection to process after to changes
Metadata settings, just use relevant Maintenance tool. Warnings, this
can take a while of course.

If it doesn't work it can be a typo rules to adjust in XMP metadata parser.

As XMP metadata managed by application are a big puzzle (XMP is not a
puzzle, only the way that applications use it), i suspect that rating
and tags imported use a different typo than current digiKam import
implementation.

I personalty implemented the LR wrapper in digiKam metadata parser. I
remember to have patched it multiple time due to a typo syntax error
to decode these tags from XMP.

As XMP is XML based text file, it's easy to hack.

Open sidecar file and search where tags and rating are registered in
XMP. Typically for LR, digiKam check these tags :

- Xmp.lr.hierarchicalSubject
- Xmp.lr.HierarchicalSubject

... for keywords (note the typo !)

- Xmp.xmp.Rating
- Xmp.MicrosoftPhoto.Rating

... for rating (there is no LR tags dedicated)

Best

Gilles Caulier

2013/7/12 Dmitri Popov <[hidden email]>:

> Hello,
>
> I'm using the RawDroid app on an Android device to assign color labels and
> ratings to RAW files when I'm on the move. The app stores these data in
> Adobe Lightroom-compatible XMP sidecars. I'd like to import labels and
> ratings into RAW files after I've transferred them to digiKam. I tried the
> Import XMP feature in digiKam to import the sidecars generated by RawDroid,
> but neither labels nor ratings were transferred. Am I doing something wrong?
>
> Thank you!
>
> Best,
> Dmitri
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Import XMP in digiKam

Dmitri Popov
Thank you for your suggestions, Gilles. I'll give it a try over the weekend, and report back on the results.

Best,
Dmitri


From: Gilles Caulier <[hidden email]>
To: Dmitri Popov <[hidden email]>; digiKam - Home Manage your photographs as a professional with the power of open source <[hidden email]>
Sent: Friday, July 12, 2013 12:06 PM
Subject: Re: [Digikam-users] Import XMP in digiKam

Hi Dmitri,

I suppose that you turn on XMP sidecar supports in digiKam/Metadata
setup page... At least "Reading from sidecar files" option must be
enabled.

If your image is already imported, force digiKam to read-metadata
after to change metadata settings. Go to AlbumGUI/Captions&Tags right
sidebar, select you images and run "More/Read Metadata..." (button on
bottom of sidebar).

Note : for a huge images collection to process after to changes
Metadata settings, just use relevant Maintenance tool. Warnings, this
can take a while of course.

If it doesn't work it can be a typo rules to adjust in XMP metadata parser.

As XMP metadata managed by application are a big puzzle (XMP is not a
puzzle, only the way that applications use it), i suspect that rating
and tags imported use a different typo than current digiKam import
implementation.

I personalty implemented the LR wrapper in digiKam metadata parser. I
remember to have patched it multiple time due to a typo syntax error
to decode these tags from XMP.

As XMP is XML based text file, it's easy to hack.

Open sidecar file and search where tags and rating are registered in
XMP. Typically for LR, digiKam check these tags :

- Xmp.lr.hierarchicalSubject
- Xmp.lr.HierarchicalSubject

... for keywords (note the typo !)

- Xmp.xmp.Rating
- Xmp.MicrosoftPhoto.Rating

... for rating (there is no LR tags dedicated)

Best

Gilles Caulier

2013/7/12 Dmitri Popov <[hidden email]>:

> Hello,
>
> I'm using the RawDroid app on an Android device to assign color labels and
> ratings to RAW files when I'm on the move. The app stores these data in
> Adobe Lightroom-compatible XMP sidecars. I'd like to import labels and
> ratings into RAW files after I've transferred them to digiKam. I tried the
> Import XMP feature in digiKam to import the sidecars generated by RawDroid,
> but neither labels nor ratings were transferred. Am I doing something wrong?
>
> Thank you!
>
> Best,
> Dmitri
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users