C# How to stop animated gif from continually looping

后端 未结 4 2088
悲&欢浪女
悲&欢浪女 2020-12-11 05:20

I have an event that gets called when my app uses the internet. The event changes an animated gif composed of 7 frames. How do I make it only loop through the frames only on

4条回答
  •  渐次进展
    2020-12-11 05:40

    You can extract single frame from that GIF image (non - animated) when the progress event is done,

    txImage.Image = Image.FormFile("non-animated-frame-from-gif.jpg");
    

    You can use this website to extract frame from gif : http://gif-explode.com/

提交回复
热议问题