: 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
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?
More posts by @Cooney243
2 Comments
Sorted by latest first Latest Oldest Best
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':
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.