The Trim command in Photoshop provides another way to crop an image. The Trim command works by removing unwanted parts of the image – you can specify which parts. The image crops by trimming surrounding transparent pixels, or background pixels of the colour you specify. Here’s a quick tutorial showing you how it works.