Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMP Toolkit error 201 when decoding Leica Q2 DNG files #2391

Closed
dllu opened this issue Oct 23, 2022 · 1 comment
Closed

XMP Toolkit error 201 when decoding Leica Q2 DNG files #2391

dllu opened this issue Oct 23, 2022 · 1 comment

Comments

@dllu
Copy link

dllu commented Oct 23, 2022

Describe the bug

When running exiv2 on Leica Q2 DNG files it says Error: XMP Toolkit error 201: Error in XMLValidator

exiv2 Leica\ -\ Q2\ -\ 14bit\ uncompressed\ \(3_2\).DNG
Error: XMP Toolkit error 201: Error in XMLValidator
Warning: Failed to decode XMP metadata.
File name       : Leica - Q2 - 14bit uncompressed (3_2).DNG
File size       : 87194624 Bytes
MIME type       : image/tiff
Image size      : 8424 x 5632
Thumbnail       : None
Camera make     : LEICA CAMERA AG
Camera model    : LEICA Q2
Image timestamp : 2019:04:14 08:20:41
File number     :
Exposure time   : 1/500 s
Aperture        : F6.3
Exposure bias   : 0 EV
Flash           : No, compulsory
Flash bias      :
Focal length    : 28.0 mm
Subject distance:
ISO speed       : 100
Exposure mode   : Aperture priority
Metering mode   : Center weighted average
Macro mode      :
Image quality   :
White balance   : Auto
Copyright       :
Exif comment    :

To Reproduce

  1. Obtain direct-from-camera DNG file from a Leica Q2, e.g. from https://raw.pixls.us/getfile.php/3204/nice/Leica%20-%20Q2%20-%2014bit%20uncompressed%20(3:2).DNG
  2. run exiv2 on it

Expected behavior

It should print the EXIF data without showing this error.

Desktop (please complete the following information):

  • OS and version: Arch Linux
  • Exiv2 version and source: exiv2 0.27.5 from Arch Linux official pacman repository
  • Compiler and version: (e.g., Gcc 12.2, Clang 14.0.0, MSVC 2022)
  • Compilation mode and/or compiler flags: (e.g., debug, -O3)

Additional context

Add any other information about the problem here.

@dllu dllu added the bug label Oct 23, 2022
@kmilos
Copy link
Collaborator

kmilos commented Oct 24, 2022

This is the same as #2126 and already fixed by #2133

Indeed:

$ ./exiv2 -px Leica\ -\ Q2\ -\ 14bit\ uncompressed\ \(3_2\).DNG
Xmp.xmp.Rating                               XmpText     1  0

Unfortunately not released yet, so you can test only by building the 0.27-maintenance (or main) branch yourself.

@kmilos kmilos closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants