Gif图像 [英] Gif image

查看:103
本文介绍了Gif图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将使用visual studio 2017我的图片框现在将播放一个gif图像。它将只显示图片

i will use visual studio 2017 my picture box will now play a gif image .it will simple show the picture only

我的代码

PictureBox5.Image = Image.FromFile(文件路径)

PictureBox5.Image = Image.FromFile(File path)

推荐答案


我将使用visual studio 2017我的图片框现在将播放一个gif图像。它将只显示图片

i will use visual studio 2017 my picture box will now play a gif image .it will simple show the picture only

这里有一个如何在图片框中设置GIF图像动画的示例:

https://stackoverflow.com/questions/13485477/can-a-picturebox-show-animated-gif-in-windows-application

There is an example here of how to animate a GIF image in a picture box:
https://stackoverflow.com/questions/13485477/can-a-picturebox-show-animated-gif-in-windows-application

替代方案是使用可以制作动画GIF的不同控件。

The alternatives is to use a different control that can do animated GIF.


这篇关于Gif图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆