Hi all,
for first sorry for my english.
I've a problem about transforming a JPG image with a white background into a PNG with Transparent background.
Everything works fine but my problem is that for several pictures also the main image has some white color areas inside of it.
Example: an open grey fridge with a white background but with also white shelves.
So the white color is correctly removed from the background but the main image is "corrupted"
Unfortunately the color is exactly white #FFF because is a rendering.
I can't use a mask because I can't know beforehand what type of image will be processed
From White to Transparent background problem
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: From White to Transparent background problem
Put your image somewhere like dropbox.com and paste the URL here.
For some images, a fuzzy floodfill from a corner works well.
For some images, a fuzzy floodfill from a corner works well.
snibgo's IM pages: im.snibgo.com
Re: From White to Transparent background problem
Thank you for your post but I've already used the fuzzy parameter in order to have a better image but this not seems to be the solution for my problem.
I need to know if it's possibile to remove white pixel only outside the image silhouette.
I need to know if it's possibile to remove white pixel only outside the image silhouette.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: From White to Transparent background problem
I have moved this to the User's forum, since it seems to be directly related to Imagemagick