Bug 328282

Summary: Rotating image removes XMP and IPTC metadata
Product: [Applications] gwenview Reporter: Alan Pater <alan.pater>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: myriam, nate, richard.llom
Priority: NOR    
Version: Other (add details in bug description)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Sample image after rotation.
Sample image before rotation.

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 ***