Bug 278661

Summary: Gwenview does not preserve resolution ( dpi / ppi ) when saving rotated images
Product: [Applications] gwenview Reporter: Frank Myhr <fmyhr>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: major CC: dfasre, luigi.toscano, nate, postix, romain.pub, yevalesaurabh5
Priority: VHI Keywords: usability
Version: 2.6   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=432094
Latest Commit: Version Fixed In:

Description Frank Myhr 2011-07-28 02:28:28 UTC
Version:           2.6 (using KDE 4.6.2) 
OS:                Linux

OS: Kubuntu 11.04 Natty AMD64

I opened a 600 ppi 8-bit grayscale TIFF in Gwenview, rotated it 90 degrees CCW ("Left") and saved it. The TIFF is compressed with the "Deflate" method if that matters. Gwenview saved the rotated file with tags that incorrectly indicate 97 ppi.

Xorg.0.log has:
[    21.180] (**) RADEON(0): DPI set to (143, 98)
Maybe Gwenview took PPI from X?

In any case, the Gwenview-rotated TIFF has much lower PPI (much larger physical size) than it should.

Reproducible: Didn't try

Steps to Reproduce:
see Details


Expected Results:  
Gwenview should preserve original TIFF's resolution (ppi) upon rotation.
Comment 1 Romain Henriet 2013-02-24 16:26:42 UTC
I have the same problem with png files. The original file was 300 ppi and after rotation it was 96 ppi.
Comment 2 Nate Graham 2017-11-08 23:08:52 UTC
*** Bug 357312 has been marked as a duplicate of this bug. ***
Comment 3 yevalesaurabh5 2022-10-19 11:48:03 UTC
** Removed due to violation of community policy **