Bug 328282 - Rotating image removes XMP and IPTC metadata
Summary: Rotating image removes XMP and IPTC metadata
Status: RESOLVED DUPLICATE of bug 324597
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: unspecified Linux
: NOR major
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-01 14:13 UTC by Alan Pater
Modified: 2017-09-09 13:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Sample image after rotation. (34.83 KB, image/jpeg)
2013-12-01 14:14 UTC, Alan Pater
Details
Sample image before rotation. (52.29 KB, image/jpeg)
2013-12-01 14:15 UTC, Alan Pater
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Pater 2013-12-01 14:13:34 UTC
I opened a sample images in gwenview, rotated the image 90 degrees and re-saved the image.

Before the rotation the image contained many XMP & some IPTC metadata tags. After the rotation all that metadata was no longer stored in the image. The image size changed from 55kB to 35kB.


Reproducible: Always
Comment 1 Alan Pater 2013-12-01 14:14:22 UTC
Created attachment 83855 [details]
Sample image after rotation.
Comment 2 Alan Pater 2013-12-01 14:15:00 UTC
Created attachment 83856 [details]
Sample image before rotation.
Comment 3 Alan Pater 2013-12-09 06:35:52 UTC
The same thing happened with the gthumb image viewer, but has now been fixed.
    https://git.gnome.org/browse/gthumb/commit/?h=gthumb-3-2&id=9d504aa9c965f3ff2b33f13f8c5b5864ff8eba39

I also tested digikam and darktable. They did not remove the metadata.
Comment 4 Richard Llom 2014-03-28 12:01:09 UTC
I can confirm this here (Gwenview Version 4.12.2) and in one case even the EXIF data was lost.
Also the meta data lost is not noticeable at instant, only after a restart the rotated images doesn't show the metadata anymore.
Comment 5 Alan Pater 2014-04-21 02:16:11 UTC
Digikam does not destroy data when rotating an image. It offers to do the job simply by changing the orientation metadata, not by actually modifying the image.

I suspect gwenview actually modifies that image rather then simply modifying the orientation tag.
Comment 6 Alan Pater 2015-08-08 14:20:46 UTC
Retested with version 4.14.0 pre

Issue remains. Rotate function results in data lost.
Comment 7 Nate Graham 2017-09-09 13:43:59 UTC

*** This bug has been marked as a duplicate of bug 324597 ***