[Digikam-devel] [Bug 220545] Cannot write XMP sidecar files
jakob.malm at gmail.com
Tue Mar 30 21:51:48 BST 2010
--- Comment #3 from Jakob Malm <jakob malm gmail com> 2010-03-30 22:51:46 ---
Hmm... Looking through the KExiv2::load and save functions I think the support
for XMP sidecar files might already be there, because Exiv2::XmpSidecar
inherits from Exiv2::Image. So, by supplying a filename like photo.xmp, should
read from, or write to, an XMP sidecar file.
I think what needs to be done is rather provide a means to tell digiKam to read
from or write to XMP sidecar files, i.e. by supplying a filename that ends with
The following are ways to do this (both should be made available, in my
1) An option in the metadata settings tab to have digikam always write XMP
sidecar files, or perhaps only for certain image formats (e.g. raw formats).
Not sure about reading...
2) Two commands in the menu (and contextual menu) "Read (write) metadata from
(to) XMP sidecar file". This approach would be the easiest to implement, and
the approach I would like to try first. The command would then just issue
KExiv2::load(xmpSidecarFilename) and use the loaded metadata for the photo, or
vice versa get the metadata from the photo and issue
KExiv2::save(xmpSidecarFilename). If there is already some metadata associated
with the photo, only the metadata that was loaded should be replaced.
What are your thoughts on this?
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel