© 2009 Donncha O Caoimh

Straighten and Crop with the GIMP

One of the more awkward tasks to do in the GIMP is straightening horizons. You have to manually rotate the image using that tool which always seems to be fairly hit and miss.

I had hoped that GIMP 2.6 would have the “draw a line and rotate” function that Bibblepro and I think Photoshop have but unfortunately it’s not there. Not to worry because the Straighten and Crop plugin by Bert Hinz does the job too! (There’s another Straighten and Crop plugin too. I haven’t tried it. What’s it like?)

Install the plugin by copying the .py file into .gimp-2.6/plug-ins/. You might need to chmod it to make it executable. Fire up the gimp and using the Path tool (press B) mark two points on the horizon with left clicks of the mouse. Run the plugin (from Image->Transform->Straighten and Crop) and it will rotate the image.

Nice and simple and has worked on the couple of images I tried it on. (via)

3 Comments

  1. Marcus
    Posted November 13, 2009 at 3:07 pm | #

    Hi!
    Thanks for the link to the plugin – but where do I find that function in Bibblepro? Do I need a plugin for that?

    Thanks!
    Marcus

    • Posted November 13, 2009 at 3:25 pm | #

      In Bibble 4 look for the icon right underneath the “Browser” menu item that looks like a rotated landscape photo. I’ve used that a few times and it works well. Doesn’t crop either which is how I prefer it. I may edit the Python script and remove that bit.

  2. David
    Posted December 3, 2009 at 1:02 am | #

    I’ve been looking for a straighten feature for The GIMP for a long time. It would be great if I could get this plugin to work. I went to Bert Hinz’s site, but when I try to download his python script it just gives me a 403 permission denied error. If you’ve got the script and it works for you, would you mind posting it (if you feel that is appropriate), or Emailing it to me? Thanks.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

In Photos dot Org is Stephen Fry proof thanks to caching by WP Super Cache