如何在.NET中生成GIF图像?

Zac*_*son 6 .net image gif image-generation

是否有一个.NET库我可以用来以编程方式生成我自己的GIF图像?

至少我想逐个像素地构建它.更好的是支持文本和形状.

这是我正在尝试做的一个例子.我在Photoshop中嘲笑了这个...

数字线图形http://img143.imageshack.us/img143/5458/dollarlineot9.gif

您有什么推荐的吗?

Chr*_*ris 12

Bitmap bmp = new Bitmap(xSize, ySize, PixelFormat.Format32bppArgb);
using (Graphics g = Graphics.FromImage(bmp)) {
  // Use g and/or bmp to set pixels, draw lines, show text, etc...
}
bmp.Save(filename, ImageFormat.Gif);
Run Code Online (Sandbox Code Playgroud)

任务完成