The image has a white background (color?), and I would like to replace the white color with transparent color.
(I think it is white
Is it possible with ImageMagick?
//Jan
Thank you!fmw42 wrote:convert image -fuzz XX% -transparent white result
XX is tolerance to match white, try 5% ......
Good idea!fmw42 wrote:If the image is white at 0,0 (or any other pixel you want to identify), then try
convert image -fill none -fuzz 20% -draw 'matte 0,0 floodfill' result.png
This will floodfill the outside with transparency and not touch inside areas that are near white.
Again adjust the fuzz value as desired.
Users browsing this forum: Amazon [Bot] and 6 guests