答案如下: ------------------------------------------------------------------------------- Creating animated GIF images.Unfortunately this is not possible using the GDI+ image encoders. The SaveAdd method which can be used to add frames to a multi-frame TIFF image does not work with the GIF encoder and an exception will be thrown. Note that you cannot add frames to existing animated GIF images either. ------------------------------------------------------------------------------- 将这200分散给楼上关注此贴以及现在还在论坛熬更守夜的朋友们。 接分吧,回复即送。
虽然gdi+不支持,不知道是否可以自己写代码实现呢?我想只要知道算法,C#一定可以实现
you have to write your own, look through the GIF89a specifications http://www.programmersheaven.com/zone10/cat452/15099.htm
向saucer(思归) 学习,学习,再学习!
I wish C# will be able to deal with gif in the futrue!
大方框内添加多个帧 每个帧显示 相对应的图层 然后 保存即可....如果装有Photoshop 那么 就已经安装上Imageready了 ..:)
-------------------------------------------------------------------------------
Creating animated GIF images.Unfortunately this is not possible using the GDI+ image encoders. The SaveAdd method which can be used to add frames to a multi-frame TIFF image does not work with the GIF encoder and an exception will be thrown.
Note that you cannot add frames to existing animated GIF images either.
-------------------------------------------------------------------------------
将这200分散给楼上关注此贴以及现在还在论坛熬更守夜的朋友们。
接分吧,回复即送。
从底层上讲,我估计你用几张位图来实现比较现实的.
因为位图比较容易操作.没有压缩.
然后再了解gif的格式. 最后组合成gif.
位图编程我玩过...gif底层没玩过,看来帮你不多.
看看Adobe公司的Imageready可以实现 将你的图片做为单个图层在 Imageready 中打开 然后 在最下面的
大方框内添加多个帧 每个帧显示 相对应的图层 然后 保存即可....如果装有Photoshop 那么 就已经安装上Imageready了 ..:)
×××××××××××××××××××××××××××××××××就这个了,很EASY
http://211.159.67.108/ttmmpp/t.htm
假设变形前后(x0,y0)点映射到(x1,y1),关系为:
x1=a*x0+b*y0+c
y1=d*x0+e*y0+f有六个参数:a~f,如果已知三个点A(x0a, y0a), B(x0b, y0b), C(x0c, y0c),则可以列出三组方程求出六个参数的值,则任意点变换可求。
编程实现感觉很难,我至今未实现,有空帮帮忙?搞定它?谢谢!