[Kde-imaging] [Bug 146381] Image rotation splits the image with a small strip appearing on the wrong side.

Martin Rehn martinrehn at hotpop.com
Mon Jul 21 20:50:22 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146381         




------- Additional Comments From martinrehn hotpop com  2008-07-21 20:50 -------
Below is the dialog that gThumb pops up when rotating one of these images. The message is very informative and seems to indicate that there is indeed no "right" way of doing the rotation. If you select "OK" in the dialog, the rotation is performed with the same result as in all the other tools above (some pixels misplaced). This is actually reversible, as advertised. If you select "Trim", the image is trimmed to a multiple of 8 pixels, and then rotated without problems.

Perhaps KDE should borrow both the code and the dialog box from GNOME here. There could of course be a third option in that dialog, which would be to do a lossy rotation, without trimming (decompress-rotate-recompress).

------The gThumb dialog:------

== Problem transforming the image: image.jpeg ==

This transformation may introduce small image distortions along one or more edges, because the image dimensions are not multiples of 8.

The distortion is reversible, however. If the resulting image is unacceptable, simply apply the reverse transformation to return to the original image.

You can also choose to discard (or trim) any untransformable edge pixels. For practical use, this mode gives the best looking results, but the transformation is not strictly lossless anymore.

[Trim] [Cancel] [OK]

------


More information about the Kde-imaging mailing list