Gif transparency problem
Posted: 2007-11-18T13:58:20-07:00
Hi,
I'm trying to make the white background on a gif image transparent using:
convert -fuzz 50% -transparent white p2.gif t2.gif
This seems to work most of the time but gives incorrect results if the top left corner of the image is not also white. Tried versions 6.0.6 and 5.4.7 with the same results.
Example input image that fails:
http://www.daveb.ukshells.co.uk/p1.gif
Example that works:
http://www.daveb.ukshells.co.uk/p2.gif
Please let me know what I'm doing wrong as this has been slowly driving me made over the past 5 years!
Cheers,
Dave
I'm trying to make the white background on a gif image transparent using:
convert -fuzz 50% -transparent white p2.gif t2.gif
This seems to work most of the time but gives incorrect results if the top left corner of the image is not also white. Tried versions 6.0.6 and 5.4.7 with the same results.
Example input image that fails:
http://www.daveb.ukshells.co.uk/p1.gif
Example that works:
http://www.daveb.ukshells.co.uk/p2.gif
Please let me know what I'm doing wrong as this has been slowly driving me made over the past 5 years!
Cheers,
Dave