Summary: | Rotating JPEG images by 90° causes a strip from the top to be saved at the bottom | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Adrien Cordonnier <adrien.cordonnier> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | adaptee, hamboy95, kollix, myriam |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
495×334 JPEG image with gradient from black at top left to white at bottom right
the file after rotating with gwenview |
Description
Adrien Cordonnier
2007-11-28 17:50:19 UTC
After more testing, it appears it is a Gwenview bug. The bug affects Gwenview as well. I did not see it at first because not every JPEG images display the bug which depends of the dimension ratio. For example, there is no such bug for a 640×480 image. Here is a 495×334 JPEG image with gradient created with the Gimp. 1) Open the file with Gwenview 2) Rotate the image 90° clockwise 3) Save (Ctrl-S): a clear strip should appear on the right side 4) Reverse the change: rotate the image 90° counterclockwise 5) Save: the image should appear correctly again Created attachment 22237 [details]
495×334 JPEG image with gradient from black at top left to white at bottom right
I tested with KDE 4.6.4 and gwenview 2.6.4, Qt 4.7.3 and can still reproduce mentioned problem. I attach a screenshot after doing: gwenview /tmp/pic.jpg rotate-right save quit gwenview gwenview /tmp/pic.jpg A testprogram using QImage doing the rotation and save does not show this bug. Created attachment 61278 [details]
the file after rotating with gwenview
Could this bug be related to bug 132352? Indeed, this is the same bug, thanks for spotting! *** This bug has been marked as a duplicate of bug 132352 *** |