[Kde-imaging] [Bug 204437] DNGConverter turns olympus ORF unusable
Gilles Caulier
caulier.gilles at gmail.com
Fri Sep 4 13:47:30 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=204437
--- Comment #38 from Gilles Caulier <caulier gilles gmail com> 2009-09-04 13:47:25 ---
Andreas,
I just created a test program to test makernote tag erase fonction. As
expected, it doesn't work, and i don't know why.
Program is there :
http://websvn.kde.org/trunk/KDE/kdegraphics/libs/libkexiv2/test/erasetag.cpp?view=markup
Executing test program give results below :
./erasetag.shell olympus.dng
main: Exif.OlympusIp.BlackLevel found = true
main: Exif.OlympusIp.BlackLevel removed = true
KExiv2Iface::KExiv2::save: File Extension: "dng" is supported for writing
mode
KExiv2Iface::KExiv2::save: Exif is supported for writing mode
KExiv2Iface::KExiv2::save: Exif is updated
You can see that Olympus makernote tag is removed in memory, but after when
exiv2::writeMetadata() is called in libkexiv2::save() method
http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp#283
...DNG file still untouched (same size, same timestamp)
Note: if i set debug statement in this method, i can see that Exif data is set
to Exiv2::Image instance and exiv2::writeMetadata() is called properly.
Testing with Exiv2 0.18.2 command line tool using
exiv2 -M"del Exif.OlympusIp.BlackLevel" olympus.dng
...work fine. Where is the problem ?
Gilles Caulier
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kde-imaging
mailing list