.net-ngif

Need to create an animated GIF in C#

前提是你 提交于 2019-12-19 10:57:10
问题 I have tried all sorts of soloutions, such as http://bloggingabout.net/blogs/rick/archive/2005/05/10/3830.aspx and http://www.codeproject.com/KB/GDI-plus/NGif.aspx but none of them seem to work correctly. NGif was okay, but the resultant gif was corrupt (white pixels on first frame). And I couldn't get Rick van den Bosch's code to work at all. I'd just like some code that I could include, and have a function CreateAnimatedGif that takes a list of images, the delay and whether to loop, and

Need to create an animated GIF in C#

女生的网名这么多〃 提交于 2019-12-01 13:20:27
I have tried all sorts of soloutions, such as http://bloggingabout.net/blogs/rick/archive/2005/05/10/3830.aspx and http://www.codeproject.com/KB/GDI-plus/NGif.aspx but none of them seem to work correctly. NGif was okay, but the resultant gif was corrupt (white pixels on first frame). And I couldn't get Rick van den Bosch's code to work at all. I'd just like some code that I could include, and have a function CreateAnimatedGif that takes a list of images, the delay and whether to loop, and returns an Image (or a string with the filename it's written to). But no matter what, I can't get anything