Launchpad has imported 18 comments from the remote bug at https://bugs.kde.org/show_bug.cgi?id=132352.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2006-08-13T17:48:25+00:00 Matěj Laitl wrote: Version: 1.3.92 (using KDE KDE 3.5.3) Installed from: Gentoo Packages Compiler: GCC 4.1 OS: Linux This bug applies to *SOME* JPEGs. When I try rotate a jpeg image, it displays correctly. But when I save it, a thin row of pixels (usually 5 to 10 pixels thick - depends on the image) is magically transfered from top to bottom. (or other directions) If I rotate the original image, but save it in PNG instead of JPEG, the problem is gone. This problem also aplies to Flip and Mirror operations. This seems related to new JPEG lossles rotation capability introduced in 1.3.92 I'm gonna upload images where this occurs. I checked it in GV versions: 1.3.92 and SVN revison 572689 (dated 2006-08-13) Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/19 ------------------------------------------------------------------------ On 2006-08-13T17:51:06+00:00 Matěj Laitl wrote: Created attachment 17356 Original Image Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/20 ------------------------------------------------------------------------ On 2006-08-13T17:54:22+00:00 Matěj Laitl wrote: Created attachment 17357 Rotated Image Note the image only seems to be B/W. Technically it's full RGB. PS: Like the girls? ;-) Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/21 ------------------------------------------------------------------------ On 2006-09-19T02:45:10+00:00 Danakil-kde wrote: Same problem here with this picture : http://danakil.free.fr/linux/bug_if_rotated.jpg http://danakil.free.fr/linux/right_rotated.jpg -> bug I don't know if this is important but this picture was resized with the "Resize images..." kipi plugin Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/22 ------------------------------------------------------------------------ On 2006-10-31T19:30:13+00:00 Matěj Laitl wrote: Still occurs with gwenview 1.4.0 using KDE 3.5.5 Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/23 ------------------------------------------------------------------------ On 2006-11-03T15:43:12+00:00 Aurélien Gâteau wrote: This is because the JPEG image dimensions are not a multiple of the MCU size see [1] for an explanation). In this case, there are three solutions to perform a rotation: 1: Apply a lossless rotation, keeping the odd pixels around. Rotating the image the other way will give you back the original image. 2: Apply a lossless rotation, but trim the offending pixels, in your case this would reduce the height of the rotated image from 900 to 896. Rotating the image the other way won't give you back the original image. 3: Apply a lossy rotation, which would give a correct image, but would probably loose some details. For now, Gwenview adopts a conservative behavior and use #1. What do you think should be done? let the user choose the solution? select #2 or #3 without asking? If you want to try #2, edit imageutils/jpegcontent.cpp, find the line that says: transformoption.trim = false; and change it to: transformoption.trim = true; [1]: http://www.impulseadventure.com/photo/jpeg-minimum-coded-unit.html Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/24 ------------------------------------------------------------------------ On 2006-11-03T17:48:21+00:00 Matěj Laitl wrote: Oh, thanks for the nice explanation... Is it possible to apply a lossy rotation only to the partial MCUs on the sides, while keeping lossless for the rest? Looks like a good compromise for me. Trimming an image a little (the worst case would be 15 pixels) is not IMHO transparent for user... It alters composition or user-made margins etc. How often you rotate & save multiple times? I prefer small quality loss to erasing a small part of image. (maybe stupid) idea: If it saved rotated JPEGs with slightly lower compression ratio, would it eliminate the quality loss? Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/25 ------------------------------------------------------------------------ On 2006-11-03T18:00:35+00:00 Matěj Laitl wrote: Oh, now I know that i can't be only partially lossy. So the best solution IMHO: offer 2 or 3 to an user, and add configuration options: always 2. always 3. ask before each save of rotated odd-sized jpeg. what about the "maybe stupid idea"? Now i will only resize my JPEGs to multiples of 8. Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/26 ------------------------------------------------------------------------ On 2006-11-07T11:40:31+00:00 Aurélien Gâteau wrote: Thanks for your suggestions, I will think about it. As of your "maybe stupid idea": I think it could compensate for some quality loss, but it won't eliminate it and would of course result in a larger file. Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/27 ------------------------------------------------------------------------ On 2006-12-06T19:49:04+00:00 Richard Johnson wrote: This same bug/issue also occurs for me with .eps files. A bug has been reported on the Ubuntu Bug Tracker (Malone) concerning this as well. https://launchpad.net/distros/ubuntu/+source/gwenview/+bug/29627 Using: Gwenview 1.4.0 KDE 3.5.5 Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/30 ------------------------------------------------------------------------ On 2010-08-25T12:57:57+00:00 Posix-ru-w wrote: Hi guys, the same here. KDE 4.5, openSUSE 11.3. > rpm -qa gwenview gwenview-4.5.0-170.2.i586 What's about patch or something like this? Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/32 ------------------------------------------------------------------------ On 2010-12-24T13:37:16+00:00 BajK wrote: I found a solution for myself: Rotating the image, then cutting the out-of-place-part, flipping it (since it is upside down), and attaching it to the top. -> done :D Still annoying. Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/33 ------------------------------------------------------------------------ On 2011-11-12T08:38:43+00:00 Alexander van Loon wrote: Any news on this? Because I just witnessed this bug occur with Gwenview 2.7.2 on KDE 4.7.3. Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/34 ------------------------------------------------------------------------ On 2011-11-12T21:37:47+00:00 Octavian Petre wrote: gwenview 2.6.4 on KDE 4.6.5 is OK Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/35 ------------------------------------------------------------------------ On 2011-12-27T23:57:35+00:00 Mark S. wrote: With Gwenview 2.7.4 on KDE 4.7.4, I can still reproduce this bug using Matěj Laitl's original pictures. Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/36 ------------------------------------------------------------------------ On 2012-01-02T21:38:56+00:00 Myriam Schweingruber wrote: *** Bug 153066 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/37 ------------------------------------------------------------------------ On 2012-01-06T08:35:47+00:00 Aurélien Gâteau wrote: *** Bug 273417 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/38 ------------------------------------------------------------------------ On 2012-01-06T08:36:05+00:00 Aurélien Gâteau wrote: *** Bug 252693 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/29627/comments/39 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/29627 Title: Rotating EPS leads to colour loss To manage notifications about this bug go to: https://bugs.launchpad.net/gwenview/+bug/29627/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs