Crop to Opaque - A Photoshop-extending Script

This script for use with Adobe Photoshop® & Adobe Photoshop Elements® will trim the edges of an image to remove all transparency. Practical uses are trimming after: merging photos into a panorama, transforming, warping, or rotating.

Tip: undoing the last two history states in photoshop after running this script will result in the opaque area being selected but not trimmed.

Example of trimming a panorama

Example of Trimming a Panorama | Crop to Opaque Photoshop-extending Script
SHARE:

* Donations made are NOT tax-deductible.

** By downloading this software package you fully agree to the terms of the license below.

License:

Copyright (C) 2018, Southgarden Studios Inc. All rights reserved.

Redistribution is PROHIBITED. To obtain a copy of this software visit:
https://developer71240.github.io/crop-to-opaque/

Use of any form of this software (including source and binary forms) is allowed for commercial and non-commercial use providing that the following conditions are met:

1. No form may be redistributed or made public without prior written permission of Southgarden Studios Inc.

2. Neither the name of Southgarden Studios Inc. nor Crop to Opaque nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL AMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright © 2018, Southgarden Studios Inc. All rights reserved.