需要创建一个GIF动画在C# [英] Need to create an animated GIF in C#

查看:237
本文介绍了需要创建一个GIF动画在C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经试过各种soloutions,如 http://bloggingabout.net/blogs/rick/archive/2005 /05/10/3830.aspx HTTP://www.$c$cproject.com/KB/GDI -plus / NGif.aspx 但他们都不正常工作。 NGif还行,但是得到的GIF是腐败(在第一帧白色像素)。我不能让里克·范登博世code在所有的工作。我只是想一些code,我可以有,而且有一个功能CreateAnimatedGif的获取图像,延迟的列表以及是否循环,并返回一个图像(或者一个字符串,它的写入文件名)。但无论怎样,我不能得到任何工作。这是推动我坚果。

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. This is driving me nutty.

推荐答案

http://midimick.com/magicknet/

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

这篇关于需要创建一个GIF动画在C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆