Bug 359198 - Rotating portrait photos in GwenView produces wrong results
Summary: Rotating portrait photos in GwenView produces wrong results
Status: RESOLVED DUPLICATE of bug 346565
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-09 19:56 UTC by Valdas
Modified: 2017-11-09 19:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
original photo (90.97 KB, image/jpeg)
2016-02-09 19:57 UTC, Valdas
Details
photo rotated CCW (91.01 KB, image/jpeg)
2016-02-09 19:58 UTC, Valdas
Details
photo rotated CW (91.03 KB, image/jpeg)
2016-02-09 19:58 UTC, Valdas
Details
Test #2: original pic (152.64 KB, image/jpeg)
2016-12-25 20:39 UTC, Valdas
Details
Test #2: pic rotated 90 CCW (152.89 KB, image/jpeg)
2016-12-25 20:40 UTC, Valdas
Details
Test #2: pic rotated 180 CCW (152.65 KB, image/jpeg)
2016-12-25 20:41 UTC, Valdas
Details
Test #2: pic rotated 270 CCW (152.87 KB, image/jpeg)
2016-12-25 20:41 UTC, Valdas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valdas 2016-02-09 19:56:36 UTC
Using version 15.08.3

See attached photo "original.jpg". It is in portrait position.
If I load it in to GW, rotate it counter clockwise, save, close and open it again then it appears  rotated by 180 degrees (file "rotated_ccw.jpg"). And if I rotate clockwise then result is as no rotation is applied (file "rotated_cw.jpg").

Reproducible: Always
Comment 1 Valdas 2016-02-09 19:57:26 UTC
Created attachment 97116 [details]
original photo
Comment 2 Valdas 2016-02-09 19:58:12 UTC
Created attachment 97117 [details]
photo rotated CCW
Comment 3 Valdas 2016-02-09 19:58:55 UTC
Created attachment 97118 [details]
photo rotated CW
Comment 4 Valdas 2016-12-25 20:20:23 UTC
 Attaching another example:
 - original photo "pic_original.jpg";
 - original photo rotated one time 90 degrees CCW and saved to file named "pic_rotated_90_ccw.jpg".
 - original photo rotated two times 90 degrees CCW and saved to file named "pic_rotated_180_ccw.jpg".
 - original photo rotated three times 90 degrees CCW and saved to  file named "pic_rotated_270_ccw.jpg".
 As you can see results are not as expected.
Comment 5 Valdas 2016-12-25 20:39:59 UTC
Created attachment 102991 [details]
Test #2: original pic
Comment 6 Valdas 2016-12-25 20:40:34 UTC
Created attachment 102992 [details]
Test #2: pic rotated 90 CCW
Comment 7 Valdas 2016-12-25 20:41:00 UTC
Created attachment 102993 [details]
Test #2: pic rotated 180 CCW
Comment 8 Valdas 2016-12-25 20:41:24 UTC
Created attachment 102994 [details]
Test #2: pic rotated 270 CCW
Comment 9 Nate Graham 2017-11-09 19:35:48 UTC

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