| Summary: | digikam with exiftool backend erases XMP tags | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | karlicoss <karlicoss> |
| Component: | Metadata-ExifTool | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 8.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/digikam/-/commit/af1fd3112e0f33a48432d3375bf8253770ff3aa3 | Version Fixed/Implemented In: | 8.2.0 |
| Sentry Crash Report: | |||
| Attachments: |
diff of exif data before/after digikam
tags before writing meta with digikam tags after writing meta with digikam (exiftool backend) tags after writing meta with digikam (exiv backend) |
||
|
Description
karlicoss
2023-08-27 23:58:54 UTC
Can you provide a sample file if not public to my email address? Maik Q : the problem is reproducible with the Exiv2 backend ? If you use a more recent Exiftool version, this do not fix the problem ? Gilles Caulier (In reply to Maik Qualmann from comment #1) > Can you provide a sample file if not public to my email address? > > Maik here you go (can't attach here because it's bigger than Mb), hope google drive is ok https://drive.google.com/file/d/1k-o6i3PwhpsHx60zEAFOEXSosmB161EB/view?usp=drive_link (In reply to caulier.gilles from comment #2) > Q : the problem is reproducible with the Exiv2 backend ? > If you use a more recent Exiftool version, this do not fix the problem ? > > Gilles Caulier Nope, doesn't happen with exiv2. The actual reason I tried exiftool backend in the first place (and upgraded digikam from version 7 to version 8) is because exiv was stripping some other tags (e.g. GPSDateTime), which stopped after upgrading Digikam -- I'll file a bug report for that if I notices. Actually I was wrong about exiftool stripping the tags -- at least on that photo exiftool preserves XMP tags so perhaps it is a digikam issue after all. I attached the metadata for the photo in the link above, before and after writing the metadata from digikam, with exiv and exiftool backends. Created attachment 161272 [details]
tags before writing meta with digikam
Created attachment 161273 [details]
tags after writing meta with digikam (exiftool backend)
Created attachment 161274 [details]
tags after writing meta with digikam (exiv backend)
@karlicoss, the link you sent me is not public, you have not yet confirmed my link sharing request via Google. I can't reproduce the problem with images (e.g. the one from the ExifTool forum) and web. Maik (In reply to Maik Qualmann from comment #7) > @karlicoss, the link you sent me is not public, you have not yet confirmed > my link sharing request via Google. > I can't reproduce the problem with images (e.g. the one from the ExifTool > forum) and web. > > Maik Apologies! I shared sharing settings to public so anyone can view Git commit af1fd3112e0f33a48432d3375bf8253770ff3aa3 by Maik Qualmann. Committed on 01/09/2023 at 22:06. Pushed by mqualmann into branch 'master'. remove metadata groups only needed for writing FIXED-IN: 8.2.0 M +1 -1 NEWS M +6 -2 core/libs/metadataengine/engine/metaengine.cpp M +6 -4 core/libs/metadataengine/engine/metaengine_p.cpp M +1 -1 core/libs/metadataengine/exiftool/exiftoolparser.h M +41 -9 core/libs/metadataengine/exiftool/exiftoolparser_command.cpp https://invent.kde.org/graphics/digikam/-/commit/af1fd3112e0f33a48432d3375bf8253770ff3aa3 |