摘要: NGif是.net 中用来创建gif图片的类库,可以迁移到windows phone中来,在windows phone中创建gif图片。Gif动画就是在一定时间间隔内,将图片依次显示,将多幅图像保存为一个图像文件,从而形成动画。 把NGif迁移到windows phone有两种不同的方式 1. 在原始的NGif中采用image对象表示当前帧的图像,windows phone中也有image对象,直接使用,只要修改部分不兼容的代码即可 2. 使用WriteableBitmap代替image,用来表示当前帧的图像。 阅读全文
posted @ 2012-09-11 10:23 Alexis 阅读(2859) 评论(12) 推荐(6) 编辑