Feb 20

coolani

This is an updated to the "NGif, animated GIF Encoder for .NET" article on the The Code Project web site. NGif is a set of C# classes which can create animated GIF images. Microsoft's native GDI library does not support the creation of animated GIFs.

My update supports returning the animated GIF as a MemoryStream object instead of a file. This is helpful on webservers where saving temporary files are not allowed.

Download: NGif_src2.zip (361.62 kb)

Update: If you are looking for more information on animated GIFs using C#, check out HOWTO: create an animated GIF using .Net (C#) by Rick van den Bosch.

Tags: |

Related posts

Comments

Mark

Posted on Wednesday, 20 February 2008 06:29

Thanks for posting the update, Phil! This should have been part of nGif from the beginning!

Georgi Georgiev

Posted on Friday, 29 February 2008 02:29

Hi,
Nice and very helpful. Still - by touching the code here and there (all SetPixel and GetPixel methods, actually), I managed to significantly improve the speed of both the encoder and the decoder. If you're interested to include the changes in your version, contact me on lllopo(_at_)abv.bg

Grts., Joro

R v B

Posted on Monday, 7 April 2008 23:24

Hi,
Nice and very helpful. Still - by touching the code here and there (all SetPixel and GetPixel methods, actually), I managed to significantly improve the speed of both the encoder and the decoder. If you're interested to include the changes in your version, contact me on lllopo(_at_)abv.bg

Grts., Joro


i think that there are many ppl intersted in your improvments to NGif

grtz, RvB

R v B

Posted on Monday, 7 April 2008 23:31

Hi,
Nice and very helpful. Still - by touching the code here and there (all SetPixel and GetPixel methods, actually), I managed to significantly improve the speed of both the encoder and the decoder. If you're interested to include the changes in your version, contact me on lllopo(_at_)abv.bg

Grts., Joro


Hi,

I think that there are many ppl interested in the improvements you made to NGif, myself include

grtz
RvB

empkey

Posted on Monday, 19 May 2008 17:58

I did that in simpler way. The still problem is encoding error; just look at the unnormal pixel added at the end of each image in the ani gif file.

empkey

Posted on Monday, 19 May 2008 18:59

I have solved the problem.

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Posted on Wednesday, 23 July 2008 21:13