Crop transparent padding using an alpha threshold.
Open-source tools that run in your browser.
Bean Yourself