WP7:从位图图像创建电影
我正在开发 WP7 应用程序。我有一个从独立存储加载的位图图像集合。
现在我想用这些位图图像制作电影或动画 GIF,这可能吗?如果是的话怎么办?
动画 GIF 可能是不可能的,因为 Silverlight 不支持 gif。
I'm developing a WP7 app. I have a collection of BitmapImages that I load from the isolated storage.
Now I want to make a movie or animated GIF from those BitmapImages, is this possible? And if yes how?
An animated GIF is probably not possible because Silverlight does not work with gifs.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
是的,Windows Phone 7 不支持动画 GIF。以下是类似内容的链接,可能会对您有所帮助:
显示Windows Phone 7 应用程序中的 GIF
Yes Windows Phone 7 doesn't support animated GIFs. Here's a link to something similar that might be able to help you though:
Display GIFs in a Windows Phone 7 application
如果您在独立存储中拥有一组图像,我猜您无论如何都不想将它们转换为手机上的动画 gif。
只需使用计时器循环显示图像即可。
如果您想更好地控制“播放”,您可以创建一个实际的电影文件,但这是否实用将取决于图像以及您如何将它们放入 IS 中。
If you have a collection of images in isolated storage I'm guessing that you don't want to turn them into an animated gif on the phone anyway.
Just use a Timer to cycle through the images.
If you want greater control over the "playback" you could create an actual movie file but whether this is practical will depend on the images and how you get them into IS in the first place.
使用故事板创建动画是一个好主意。但问题是如何导出动画。我已经思考了很长时间的解决方案。
Using story board would be a good idea to create an animation. But the problem is how to export the animation. I have been thinking a solution for a long time.