Straighten and Crop with the GIMP

Posted on 13 November 2009

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)

City Hall Hides A SecretOld Couches and MattressesWindsor CastleLight Streaks of City Traffic

3 responses to Straighten and Crop with the GIMP

  • Marcus says:

    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

    • Donncha says:

      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.

  • David says:

    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.

  • Leave a Response

    Recent Posts

    Tag Cloud

    Abstract Architecture Beach Black and White Blarney California Candid Canon 10-22 Canon 20D Canon 40D clouds Cork Cork Photos Grand Parade Houses in-photos Ireland irishblogs Irish photos Kerry Kerry Photos Landscape Long Exposure Look up Nature Night People Photography Photos San Francisco San Francisco Photos Sea Sigma 10-20 Sigma 18-200 Signs Sky St Patrick's Street Street Sun Trees United States Urban Vehicles Water Words

    Meta

    In Photos dot org is proudly powered by WordPress and the SubtleFlux theme.

    Copyright © In Photos dot org



    In Photos dot org is Digg proof thanks to caching by WP Super Cache