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 returns an Image (or a string with the filename it's written to).

But no matter what, I can't get anything to work.


回答1:


http://midimick.com/magicknet/

http://midimick.com/magicknet/magickDoc.html



来源:https://stackoverflow.com/questions/2213529/need-to-create-an-animated-gif-in-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!