You are here

Straighten and Crop

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
StraightenAndCrop.zip6.08 KB

Update 10.6.2011 - the new version of the Straighten and Crop script (attached) will use the Python version of Post Rotate Crop if this is installed; otherwise it will use the Script-Fu version of the script. (The Python version of Post Rotate Crop is very much faster than the Script-Fu version)

A script that provides an easy method for straightening pictures and then, optionally cropping them to remove the resulting transparent areas.

The centre of rotation can be specified as can the type of cropping required.

The cropping can be performed by the GIMP rotate function but this can have unpredictable results. The Post Rotate Crop script provides more options and seems more reliable (let me know should you find a problem with it)

This version of Straighten and Crop uses the revised interface to the Post Rotate Crop script, including the option to select the aspect ratio of the cropped area.

The attached zip file includes the script and a text file of notes on its use.

Code License: 
GIMP Version: 
Scripting Engine: 

Comments

Sorry if I'm just being a noob, but it wasn't obvious to me that this script depends upon another script being present. I got a "can't find postrotatecrop.scm" error the first time I ran this script.

It can be found at: http://registry.gimp.org/node/18820

Other than that, an easy to use and useful script. Thanks!

Pages

Subscribe to Comments for "Straighten and Crop"