Transparency cropper

Transparency crop script by J R Hunt, updated by Darrell Enns to work with Gimp 2.6.
Automatically crops out transparent edges. This is particularly useful after performing a rotate or perspective correction on a photo. It can also perform optimizations to find the crop that removes the transparent edges while mainting as much of the original image as possible.

AttachmentSize
transp-cropper.py13.13 KB

Comments

Needs other Python packages

Great tool - thanks! The script says it needs scipy (http://www.scipy.org/), which in turn apparently needs numpy (http://www.numpy.org/). And it goes without saying you first need Python (http://www.python.org). After installing those you get menu items Python-Fu > Selection > Transparency Crop

It's a very useful plug-in

It's a very useful plug-in when blending images with Hugin! Thank you very much for it!

Just what I need

Thanks for writing this! I often correct the rotation in digital photos, manually crop the transparency, and never know if I've cropped more than absoluately necessary. I expect to get a lot of use out of Transparency Crop.

question

Hi thats great. Men - who can I find the plugin in Gimp? Avarra

The menu paths are given in

The menu paths are given in the register() call in the script, in this case

<Image>/Python-Fu/Selection/Transparency Crop

 

Syndicate content