Trim image by color

I have an image:
must be trimmed

I need this image for a webpage background. As you see, it has lots of useless pixels around the blurred element which could be replaced with CSS.

The image given to me is JPG, I have no access to layers.

Is there a way to trim by color instead of transparent pixels?


Photoshop gives you the option to trim an image based on the top left pixel or the bottom right pixel.

  1. Open the image in Photoshop
  2. Select Image > Trim… from the menu
  3. Choos either top left or bottom right options and click ‘OK’:

Trim dialogue box in Photoshop CS6

Source : Link , Question Author : tomsseisums , Answer Author : Vincent

Leave a Comment