Project

General

Profile

Bug #11561

Import XMP history stack from exported image

Added by Serge Gielkens about 2 years ago. Updated about 2 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Lighttable
Target version:
Start date:
04/02/2017
Due date:
% Done:

100%

Affected Version:
2.2.3
System:
Fedora/RHEL
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Hello,

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

DSC_1041.png (31.3 MB) Serge Gielkens, 04/03/2017 12:02 PM

Associated revisions

Revision fde25d61
Added by Tobias Ellinghaus about 2 years ago

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.

Fixes #11561

History

#1 Updated by Tobias Ellinghaus about 2 years ago

  • Status changed from New to Incomplete
  • % Done changed from 0 to 20

Could you provide such a PNG for us to try?

#2 Updated by Serge Gielkens about 2 years ago

Thank you for your quick response.

I have attached the original exported PNG.

With kind regards, Serge Gielkens

#3 Updated by Tobias Ellinghaus about 2 years ago

  • Status changed from Incomplete to Triaged

#4 Updated by Tobias Ellinghaus about 2 years ago

  • Status changed from Triaged to Fixed
  • % Done changed from 20 to 100

#5 Updated by Serge Gielkens about 2 years ago

Wow, thank you very much. That is really fast!

With kind regards, Serge

Also available in: Atom PDF