Summary: | Exiv2 alters unrelated DJI Exif metadata when editing tags. | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | spiesant <metal450> |
Component: | Metadata-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version: | 8.0.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | 8.0.0 | |
Attachments: | test image |
Description
spiesant
2022-12-29 05:03:01 UTC
It's probably a bug in Exiv2 metadata engine which do not deal with DJI Exif section from images. What's happen if you use ExifTool instead Exiv2 as metadata engine in digiKam Setup/Metadata page ? Can you reproduce the dysfunction ? https://docs.digikam.org/en/setup_application/metadata_settings.html#behavior-settings Gilles Caulier I can reproduce the problem. The unknown DJI tags are also changed when we write the EXV container back with ExifTool. The problem is probably already arising when reading the metadata. A test with the Exiv2 CLI tool is still pending, but will probably not bring any other result. Maik (In reply to caulier.gilles from comment #1) > It's probably a bug in Exiv2 metadata engine which do not deal with DJI Exif > section from images. > > What's happen if you use ExifTool instead Exiv2 as metadata engine in > digiKam Setup/Metadata page ? Can you reproduce the dysfunction ? > > https://docs.digikam.org/en/setup_application/metadata_settings. > html#behavior-settings > > Gilles Caulier If you're referring to checking the option "Delegate to ExifTool backend all operations to write metadata to files", then yeah, I can confirm that it's still destructive to those metadata values. Git commit 94c5c8814a7c9f68f014ea3cfa0c88268620d585 by Maik Qualmann. Committed on 01/01/2023 at 18:57. Pushed by mqualmann into branch 'master'. restore MakerNotes from the original file when using ExifTool write M +3 -0 core/libs/metadataengine/exiftool/exiftoolparser_command.cpp https://invent.kde.org/graphics/digikam/commit/94c5c8814a7c9f68f014ea3cfa0c88268620d585 Git commit 5a6ea9ccecef30a63bbecfa662811511610d9223 by Maik Qualmann. Committed on 02/01/2023 at 19:16. Pushed by mqualmann into branch 'master'. prevent deletion of tags (MPF group) when writing with ExifTool M +3 -1 core/libs/metadataengine/exiftool/exiftoolparser_command.cpp https://invent.kde.org/graphics/digikam/commit/5a6ea9ccecef30a63bbecfa662811511610d9223 The prerequisite for not changing the Makernotes is the activated ExifTool support in digiKam-8.0.0. Maik |