You are here

Transparency cropper

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
transp-cropper.py13.13 KB

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.

Code License: 
GIMP Version: 
Scripting Engine: 

Comments

Hello,

I am running Ubuntu 10.4. I have the file transp-cropper.py (no .txt extension) in my /home/username/.gimp-2.6/plug-ins folder. My package manager shows scipy and numpy both installed. Running "import scipy" at a Python prompt does not generate an error. However, I still am unable to find the plugin in any of the GIMP menus. Other .py plugins in the same folder seem to run OK. Am I still missing something for this one? This will be a very useful plugin for me if I can get it running.

Thank You!

Never mind; restarted a couple more times, and somehow it's there now. Works great. Thanks for this!

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.
Subscribe to Comments for "Transparency cropper"