Bug 427350 - digiKam DNG Converter fails to correctly encode white balance or camera metadata for Canon R5 CR3
Summary: digiKam DNG Converter fails to correctly encode white balance or camera metad...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-DngConverter (show other bugs)
Version: 7.1.0
Platform: Appimage Linux
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-04 23:53 UTC by Charlie Figura
Modified: 2021-05-11 05:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Figura 2020-10-04 23:53:39 UTC
SUMMARY
The white balance for CR3 images converted using the linux digikam 7.1.0 is corrupted, and image metadata (lens,aperture,ISO,exposure, focal length, etc) is absent.   Images are strongly magenta.  Other software (such as darktable) produces a warning ("failed to read camera white balance information").

Images converted through Adobe Digital Negative Converter 12.4.0.555 on Wine work as expected.


STEPS TO REPRODUCE
1. Set the checkbox "convert DGN"
2. Import the images

OBSERVED RESULT
CR3 files converted to DGN format have corrupted white balance information.  The JPG preview has a bad white balance.  The image metadate is lacking all camera metadata (lens, aperture, exposure, ISO, etc)

EXPECTED RESULT
The resultant DGN format image should have white balance information that reflects the image.  The white balance and metadata should be able to be read by other image manipulation programs capable of reading DGN files.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version:  5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION

Running Digikam 7.1.0
I have sample images, but as these are raw and DGN image produced by the Canon R5, these images are 41-45MB in size.  How can I submit these?
Comment 1 caulier.gilles 2020-10-05 05:05:35 UTC
The reasons are simple :

1/ Exiv2 shared library do not support yet CR3 file format. There is an upstream bug open here:

https://github.com/Exiv2/exiv2/issues/236

2/ Libraw shared library do not support yet last Canon camera models with CR3 files (as EOS-R5). Check well the camera models listed in Help/Raw Camera Support dialog. Look also this other report:

https://bugs.kde.org/show_bug.cgi?id=426923#c9

Gilles Caulier
Comment 2 caulier.gilles 2021-05-11 05:53:34 UTC
After upgrading DNG SDK to 1.5, libraw to snapshot 20210504, digiKAm 7.3.0 using Exiv2 0.27.4 can handle Canon R5 and convert to DNG without problem.

Screenshot : https://i.imgur.com/JOUYv6q.png

I close this file now.

Gilles Caulier