| Summary: | XMP and IPTC metadata loss when rotating image jpg | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | Antonin Roussel <antonin.roussel> |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | nate, postix |
| Priority: | VHI | ||
| Version First Reported In: | Other (add details in bug description) | ||
| Target Milestone: | --- | ||
| Platform: | Mageia RPMs | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=278661 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Comparing exiftool -g file.jpg outputs | ||
close to bug 278661 Yeah close but not exactly the same thing. 1) I've checked the metadata with `exiftool -g my.jpg`, 2) opened it in Gwenview 25.08.0 3) rotated it in Gwenview and saved it 4) step 1) The metadata all remain. Can you please check if it's still reproducible for you in a recent version? Thanks! The bug remains in the following environment: Gwenview Version 23.04.3 gwenview-23.04.3-1.mga9.src.rpm NEED TO TRY in Gwenview 25.08.0. As I wonder if there are keywords in your test file, here are more information and then more precise steps : Operating System: Mageia 9 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.7 Kernel Version: 6.6.93-desktop-1.mga9 (64-bit) Graphics Platform: X11 STEPS TO REPRODUCE #2 1.1 tag in IPTC: exiftool -keywords+=k1 -keywords+=k2 my.jpg 1.2 tag copied in XMP: exiftool -TagsFromFile my.jpg '-xmp:subject<keywords' my.jpg 2. read with exiftool (or even with Gwenview) 3. rotate with Gwenview, and save. 4. read again The bug remains in gwenview-25.08.0-1.mga10
********************************************
From a fresh and light install of Mageia cauldron :
# as root
urpmi gwenview
urpmi exiftool
urpmi imagemagick
rpm -q -f `which gwenview`
> gwenview-25.08.0-1.mga10
$ as normal user
*** Get a jpg picture, for instance from a browser logo ***
magick about-logo.png about-logo.jpg
exiftool -keywords+=k1 -keywords+=k2 about-logo.jpg
exiftool -xmp:subject+=k1 -xmp:subject+=k2 about-logo.jpg
exiftool about-logo.jpg
cp about-logo.jpg copy.jpg
*** Rotate copy.jpg with Gwenview and save ***
exiftool copy.jpg
*** You can see the keywords are gone ***
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! |
Created attachment 135164 [details] Comparing exiftool -g file.jpg outputs SUMMARY using jbrout and exiftool to tag (and read) XMP and IPTC metadata loss when rotating image jpg I will now be aware STEPS TO REPRODUCE 1. tag 2. read 2. rotate 3. read OBSERVED RESULT IPTC and XMP metadata are gone EXPECTED RESULT height, width, size and a little bit more expected to change SOFTWARE/OS VERSIONS Gwenview: gwenview-19.04.0-2.mga7.x86_64 Linux/KDE Plasma: Mageia 7 - 5.10.8-desktop-2.mga7 KDE Plasma Version: kdeplasma-addons-5.15.4-1.mga7.x86_64 KDE Frameworks 5.57.0 Qt 5.12.6 (construit sur 5.12.2) Le système de fenêtres xcb ADDITIONAL INFORMATION