Mobile app version of vmapp.org
Login or Join
Cooney243

: Trim image by color I have an image: 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

@Cooney243

Posted in: #AdobePhotoshop #WebsiteDesign

I have an image:


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?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Cooney243

2 Comments

Sorted by latest first Latest Oldest Best

 

@Lengel450

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


Open the image in Photoshop
Select Image > Trim... from the menu
Choos either top left or bottom right options and click 'OK':

10% popularity Vote Up Vote Down


 

@Lee3735518

You can make a selection based on the background color:
select/color range...

after you have done that you can either simply delete the background or create an image mask (gives you more edit options).

Save as a PNG with transparency and set the background of your web site to the same as the original background color.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme