Click here to Skip to main content
15,879,535 members
Articles / Programming Languages / C#
Alternative
Tip/Trick

How to convert BMP to GIF in C#

Rate me:
Please Sign up or sign in to vote.
4.67/5 (3 votes)
21 Dec 2010CPOL 11.3K   1   1
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)


Written By
Austria Austria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralReason for my vote of 5 Well... This is the most easiest met... Pin
ewics15-Aug-11 1:10
ewics15-Aug-11 1:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.