Import XMP history stack from exported image
First of all I want to thank you for project Darktable. It is a impressive application and I use it to my great satisfaction.
In version 2.2.0 of Darktable the XMP schema has changed (xmp_version bumped from 1 -> 2). When I try to import now in Lighttable as sidecar file a previously exported image (PNG with xmp_version=1) the history stack is not imported. Instead, the history stack is empty (only the 0-original remains).
For your information. Importing xmp_version=2 from a PNG poses no problem. The history stack in such a case is successfully imported from the stored XMP metadata.
With kind regards, Serge Gielkens
Always use exiv2 to get XMP data to load
Don't assume that the XMP file to load is actually a plain XML file as
it might be an image with embedded XMP data. Thus we have to use exiv2
to get the XMP packet from the file to load and pass that to pugixml in
case of our old XMP format.
#4 Updated by Tobias Ellinghaus almost 3 years ago
- % Done changed from 20 to 100
- Status changed from Triaged to Fixed
Applied in changeset darktable|fde25d61e4770a9d39eb3a640fd070a2e89f8651.