This script crops the image automatically, by cutting off continuously colored or transparent areas.