Bug 250473

Summary: Gwenview deletes EXIF-Tag upon CROP and RESIZE
Product: [Applications] gwenview Reporter: Matthias Bock <bockmatthias>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matthias Bock 2010-09-07 18:36:07 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

Cropping or Resizing JPEG-Images in Gwenview produces image files with EXIF-Tag removed.

Reproducible: Always

Steps to Reproduce:
I downloaded JPEG-images from my digital camera, opened one in Gwenview, used the CROP action to make it smaller and clicked SAVE. Comparing the EXIF-Tag of the original with the cropped picture using exiv2, version 0.19-1, returned the camera's EXIF-Tag for the original and "No Exif data found in the file" for the cropped picture.

Actual Results:  
The picture's EXIF-Tag is missing.

Expected Results:  
The EXIF-Tag must not be removed but preserved, as it is the case when rotating pictures.
Comment 1 Matthias Fuchs 2011-01-26 23:33:20 UTC
SVN commit 1217378 by mfuchs:

Cropping pictures that use a small palette (e.g. 256 entries) works now.
QImage::copy(QRect) also preserves the EXIF-Tag.
BUG:257590
BUG:236318
BUG:250473
CCBUG:203109

 M  +2 -7      cropimageoperation.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1217378
Comment 2 Matthias Fuchs 2011-01-26 23:37:00 UTC
SVN commit 1217379 by mfuchs:

Backport r1217378
Cropping pictures that use a small palette (e.g. 256 entries) works now.
QImage::copy(QRect) also preserves the EXIF-Tag.
CCBUG:257590
CCBUG:236318
CCBUG:250473
CCBUG:203109

 M  +2 -7      cropimageoperation.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1217379