Search found 2 matches

by slee1997
2018-11-27T19:48:30-07:00
Forum: Magick.NET
Topic: transparent GIF issue
Replies: 2
Views: 8438

Re: transparent GIF issue

Hi,

I have changed my code to use 'convert' command directly and the problem is solved:

Code: Select all

convert TEST.gif -transparent "rgb(255,255,255)" -transparent-color "rgb(255,255,255)" TEST.gif
Thanks!
Stephen
by slee1997
2018-11-26T19:20:03-07:00
Forum: Magick.NET
Topic: transparent GIF issue
Replies: 2
Views: 8438

transparent GIF issue

Hi Everyone. I am trying to use Magick.NET to convert a BITMAP into a transparent GIF and below is my code: using (MagickImage img = new MagickImage("C:\\TEST.bmp")) { img.Format = MagickFormat.Gif; img.Transparent(MagickColor.FromRgb(255, 255, 255)); img.Write("C:\\TEST.gif"); }...