Trim

Use the Trim tool on the image to remove surrounding transparent or solid color pixels.

Trim Options

Use trim options to change on which criteria trim should be done.

Trim Away

Check which sides of the image should trimmed away. Uncheck if you need to leave the side as is.

Reveal All

An opposite tool to the Trim is Reveal All, which reveals all hidden image parts.