Gimp-Forum.net

Full Version: Straightening an image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
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
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).
(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).
All very good, but it is not available in Gimp 2.8 Wink