Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
I'd recommend a minor tweak to your code to remove the 'magic' string of the mimeType from the code, using the following:static void Main(string[] args){ Bitmap bitMap = new Bitmap(@"test.bmp"); var codecInfo = GetEncoderInfo(ImageFormat.Gif); var paramsEncoder = new...
Very nice work. I would add a bit of reformatting and place it in all in method:public static void BitmapToGIF(string BitmapFile, string GIFFile){ using (Bitmap bitMap = new Bitmap(BitmapFile)) { //var codecInfo = GetEncoderInfo(ImageFormat.Gif); var...
19 Dec 2010Kanasz Robert 3 alternatives
How to convert BMP to GIF in C#
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.