通过C#创建gif图像 [英] Create a gif image by C#
本文介绍了通过C#创建gif图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在WindowForm C#中创建了一个搜索二叉树,我的程序有一部分显示了在二叉树中搜索节点的进度.现在,如何在C#中创建GIF图像,以保存在二叉树中搜索节点的进度.
I create a Searching Binary Tree in WindowForm C#, my program has a part that show the progress of searching a node in Binary Tree. Now, how can i create a GIF image in C# that save the progress of searching a node in Binary Tree.
推荐答案
请编辑您的问题并添加更多详细信息. br/>
什么是有图片"?
您要创建动画GIF吗?
如果是这样,您是要使用C#还是要对外部工具提出建议?
尼克
Please edit your question and add more details.
What "has a picture"?
Do you want to create an animated GIF?
If so, do you want to do it in C#, or do you want a recommendation for an external tool?
Nick
这可能是一个食谱:
-习惯于二进制搜索技术,可能会读一些文章,其中包括以下CP:用C#编写的简单二进制搜索树 [^ ]
-创建许多显示不同步骤的图像;
-将这些图像转换为动画gif;这段CP文章过去对我来说效果很好: NGif,.NET的动画GIF编码器 [ ^ ]
:)
This could be a recipe:
- get accustomed to binary search techniques, possibly reading some articles, include this CP one: A simple Binary Search Tree written in C#[^]
- create a number of images showing the different steps;
- turn those images into an animated gif; this CP article worked well for me in the past: NGif, Animated GIF Encoder for .NET[^]
:)
这篇关于通过C#创建gif图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文