Bug 225272 - digiKam destroy some Exif data with Exiv2 - Use ExifTool instead.
Summary: digiKam destroy some Exif data with Exiv2 - Use ExifTool instead.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-ExifTool (show other bugs)
Version: 1.2.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 15:01 UTC by Johann-Nikolaus Andreae
Modified: 2022-04-10 09:01 UTC (History)
1 user (show)

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


Attachments
diff from the exiftool output (16.14 KB, text/plain)
2010-02-02 15:18 UTC, Johann-Nikolaus Andreae
Details
Image before (88.40 KB, image/jpeg)
2010-02-02 15:26 UTC, Johann-Nikolaus Andreae
Details
Image after (80.80 KB, image/jpeg)
2010-02-02 15:28 UTC, Johann-Nikolaus Andreae
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johann-Nikolaus Andreae 2010-02-02 15:01:48 UTC
Version:           1.2.0 (rev.: 1084045) (using 4.3.98 (KDE 4.3.98 (KDE 4.4 RC3)) "release 216", KDE:KDE4:Factory:Desktop / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.8-0.1-desktop

If digikam writes exif data to a image some tags a destroyed after.

I look with exiftool to some imagemetadata an see that some data are wrong/unknown.
This is happened with a lot of pictures, so i take a new picture. This data are ok.
If i set a tag with digikam to this picture the data are broken.
Comment 1 caulier.gilles 2010-02-02 15:12:24 UTC
Which file Format ?

Which Exiv2 version you use ? (look Help/Components Info for details)

Please give us image to investiguate : one before changes (fine), one after changes (altered)

Thanks in advance

Gilles Caulier
Comment 2 Johann-Nikolaus Andreae 2010-02-02 15:18:21 UTC
Created attachment 40460 [details]
diff from the exiftool output

The changes are at the end of the line
Comment 3 Johann-Nikolaus Andreae 2010-02-02 15:26:58 UTC
Created attachment 40461 [details]
Image before
Comment 4 Johann-Nikolaus Andreae 2010-02-02 15:28:28 UTC
Created attachment 40462 [details]
Image after
Comment 5 Johann-Nikolaus Andreae 2010-02-02 15:30:43 UTC
libexiv2 has the version 0.18.2
Comment 6 Johann-Nikolaus Andreae 2010-02-11 20:57:32 UTC
I have repruduce the bug with exiv2. It is a bug in libexiv.
http://dev.exiv2.org/issues/show/682
Comment 7 Johannes Wienke 2010-02-12 09:14:04 UTC
Ok, can you please report this at the exiv2 bug tracker. I will mark this as upstream here.
Comment 8 Johann-Nikolaus Andreae 2010-02-12 12:30:27 UTC
I have report it all ready see link above.
Comment 9 caulier.gilles 2021-04-25 10:08:15 UTC
Johann,

This problem still reproducible with digiKam 7.x and Exiv2 0.27.x ?

Gilles Caulier
Comment 10 caulier.gilles 2022-04-10 09:01:43 UTC
Fixed with the new support of ExifTool to write metadata in place of Exiv2.