Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / C#

How to convert BMP to GIF in C#

4.67/5 (3 votes)
21 Dec 2010CPOL 11.8K  
I think your solution is good if I have to control quality, compressionetc.For a fast conversion I do just this.Bitmap bmp = new Bitmap(@C:Example.bmp);bmp.Save(@C:Example.gif, ImageFormat.Gif);
I think your solution is good if I have to control quality, compression
etc.
For a fast conversion I do just this.

Bitmap bmp = new Bitmap(@"C:\Example.bmp");
bmp.Save(@"C:\Example.gif", ImageFormat.Gif);

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)