Bug 181973

Summary: raw batch converter loses exif information
Product: [Applications] digikam Reporter: S. Burmeister <sven.burmeister>
Component: BatchQueueManager-RAWProcessingAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 0.2.0
Sentry Crash Report:

Description S. Burmeister 2009-01-26 13:20:01 UTC
Version:           0.10 svn Rev: 916863 (using KDE 4.1.96)
OS:                Linux
Installed from:    SuSE RPMs

If I import a RAW picture and save it as a PNG or JPG, the EXIF information is included. If I use the Batch RAW converter, it is lost.
Comment 1 caulier.gilles 2009-01-26 13:37:51 UTC
It's not reproducible here. Converting CR2 file (Canon 350D) to PNG, all Exif, makernote, are preserved.

Which RAW file format you use ?

Which Exiv2 library you use (look digiKam Help/Components Info dialog)

Gilles Caulier
Comment 2 S. Burmeister 2009-01-26 14:05:19 UTC
Would importing "manually" and saving as PNG work if the version of exiv2 would be the cause?

I do this with rw2 RAWs.

digiKam version 0.10.0-rc2 (rev.: 916864)
Exiv2 can write to Jp2: No
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Png: No
Exiv2 can write to Tiff: No
Exiv2 support XMP metadata: Yes
LibCImg: 129
LibExiv2: 0.16
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 78.1"
LibKExiv2: 0.5.0
LibKdcraw: 0.4.0
LibLCMS: 117
LibPNG: 1.2.26
LibQt: 4.4.3
LibRaw: 0.6.5-Release
LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Marble widget: pre 0.7 SVN
LibGphoto2: 2.4.1.2
LibKipi: 0.3.0
Comment 3 caulier.gilles 2009-01-26 14:18:01 UTC
Panasonic RW2 Raw files support has been just added to Exiv2 library. This is why you cannot see Exif data in your PNG/JPEG file.

Use Exiv2 source code from trunk instead 0.16, and all will be fine. For more info:

http://www.exiv2.org

Note: with digiKam image editor, we use libraw metadata extraction. It really uncomplete and minimalist. This is why you can see some Exif informations in PNG/Jpeg created with image editor.

Gilles Caulier
Comment 4 S. Burmeister 2009-01-26 15:27:31 UTC
It does not work with exiv2 Rev: 1734. I did not recompile libkexiv2 though, so I'll try that. KDE 4.2 should be enough or do I need libkexiv2 from trunk?
Comment 5 caulier.gilles 2009-01-26 15:37:28 UTC
libkexiv2 need to be recompiled to take new Exiv2 0.18, because binary compatibility is broken between 0.16 and 0.18.

You can use libkexiv2 from trunk if you want, but it's not manadatory.

Gilles Caulier