Gimp-Forum.net
Straightening an image - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Older Gimp versions (2.8, 2.6....) (https://www.gimp-forum.net/Forum-Older-Gimp-versions-2-8-2-6)
+--- Thread: Straightening an image (/Thread-Straightening-an-image)



Straightening an image - metoo - 11-26-2018

Often when I put a document on the photocopier for scanning I don't get it exactly level for various reasons. How ca I straighten it out in GIMP? If I can't get it aligned right my cropped  image comes out skewed. See the two attached examples.

[Image: 39Js0yO]
[Image: Br2U8oI]


RE: Straightening an image - rich2005 - 11-26-2018

Use the Rotate tool in corrective mode. Align the grid to "parallel" a vertical or horizontal reference. Plenty there in a scan of a newspaper https://i.imgur.com/qMac4Na.jpg

Then crop to suit: https://i.imgur.com/aYsHSH5.jpg


RE: Straightening an image - Ofnuts - 11-26-2018

In Gimp 2.10 (at least 2.10.6 IIRC) , you can use the Measure tool for this; drag a line along the baseline of a text line and hit the "straighten" button in the Tool options dialog, to make that horizontal (or vertical, whichever is closer).


RE: Straightening an image - Espermaschine - 11-26-2018

(11-26-2018, 12:31 PM)Ofnuts Wrote: In Gimp 2.10 (at least 2.10.6 IIRC) , you can use the Measure tool for this; drag a line along the baseline of a text line and hit the "straighten" button in the Tool options dialog, to make that horizontal (or vertical, whichever is closer).

Nice !

I tried this with text. It adds a bit of antialiasing to the the edges.
Same with the Rotate Tool (and the NoHalo algorithm).


RE: Straightening an image - rich2005 - 11-26-2018

All very good, but it is not available in Gimp 2.8 Wink