If you're working on an image and wind up with a canvas that's larger than the image pixels, here's a simple little script that will trim away the unused areas. It'll reduce the canvas to the smallest size that contains all the pixels of the actual images. In other words, it takes the value of the top left pixel of the canvas and uses that info to trim away pixels, so this script will work on a canvas having transparent pixels as well as coloured pixels.
Here are the steps to install the script:
<about>Trim the canvas.</about>
Message was edited by: photodrawken to correct explanation.
You're welcome. It's already solved a user's problem. As I said in the other discussion, the very reasonably priced Elements+ add-in provides the additional options for trimming that the "big" Photoshop has:
P.S., No, I have absolutely no connection with Elements+ other than being a satisfied user.
Thank you, thank you, thank you! As a former PhotoShop user who's downsized to PSE, it was driving me crazy!
I'm able to figure out most things, but I could't figure out where they hid the "trim" command.
PS: I'll have to check out Elements+
Another workaround, in that situation where the subject is surrounded by a transparent background:
- Select the transparent outer background with the magic wand.
- Inverse selection (shift ctrl I)
- menu image/crop
PS: another vote for Elements+
Not really -- the Recompose tool will still "squish" objects and alter the spacing between them when the edges are dragged in, and also doesn't work too well on images with multiple layers since you have to recompose each layer separately.
Yes, that also seems to work when backgrounds are filled with colour.
To be precise :
There might be a selection problem if part of the useful selection is the same color as the background (white part on white background for instance), but in most cases that will not change the trimming.
Europe, Middle East and Africa