Bug 191907 - DNG Converter damages white balance metadata
Summary: DNG Converter damages white balance metadata
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-DngConverter (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 14:28 UTC by Michal Thoma
Modified: 2016-07-15 12:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Thoma 2009-05-07 14:28:05 UTC
Version:           0.10 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

When converting PEF image to DNG using digikam DNG Converter the camera white balance information is lost in the process and 6500 K white balance is hardcoded to image instead. This severely complicates later editing in the RAW conversion utlity and also compromises creation of the preview image.

Here could be find sample images (original PEF, Adobe Converted .dng and Digikam converted .dng)

http://photos.thoma.cz/dng-converter/

There are more differences in the exif in Adobe and Digkam DNGs though I only this proved severe problem so far.

I consider this issue so severe and unrecoverable data lost, that until resolved I would recommend using of Digikam converter only for experimental purpose.
Comment 1 caulier.gilles 2009-05-07 14:43:03 UTC
This duing of uncomplete support of metadata in Adobe SDK.

Some issue will be found with Exiv2 in the future

Gilles Caulier
Comment 2 Alexander Kobel 2009-05-15 21:15:40 UTC
Seconded.

Same for Minolta DiMAGE A2 .mrw files with the same version (default in Ubuntu Jaunty). For example files, look here: http://www.a-kobel.de/kipi-dng/
Comment 3 rishi.j.sanyal 2009-06-16 02:20:59 UTC
I'll just add to the list here:

Same with Panasonic LX3 .RW2 files.

DigiKam itself reads the metadata just fine (i.e. I can see date, shutter speed, aperture, white balance, etc. info for all .RW2 files)... however, when converted to DNG, all DNG files lose all metadata (DNG files exported have no shutter speed, aperture, ISO, etc. information).

-Rishi
Comment 4 caulier.gilles 2009-10-01 12:10:07 UTC
Can you try with kipi-plugins 0.7.0 and Exiv2 0.18.2 ?

Gilles Caulier
Comment 5 Russell Harrison 2010-01-10 22:43:00 UTC
I have been able to reproduce the issue with kipi-plugins 1.0.0 and exiv2 0.18.2.
exiv2-0.18.2-2.fc12.i686
kipi-plugins-1.0.0-1.fc12.i686

The EXIF data is significantly different between the two tools and many tags simply aren't present in the version created with dngconverter.

I'm uploading some example converted files and the original to:
http://russellharrison.com/bugs/kipi-plugins/bug_191907-dngconverter_white_balance_metadata/
Comment 6 Jens Mueller 2010-03-31 22:53:04 UTC
SVN commit 1109716 by jmueller:

- set correct whitebalance
- add some exif tags from manufactor markernotes (lens, shutter count, serial, firmware, focal length)

BUGS: 191907

 M  +4 -3      NEWS  
 M  +46 -5     dngconverter/dngwriter/dngwriter.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1109716