C # How can I create a gif animation loop in a frame

I imported the animated GIF as a resource in the picturebox - unfortunately, it only plays the final frame and never repeats. I have something that I could do to make it continuous. Gif for my "please wait busy box"

Brad

+3
source share
2 answers

Animated GIF files have several different settings. Typically, some data is embedded in the file that tells the renderer how the image should be displayed.

This data indicates how quickly the image will be animated if it must go through endlessly, or how many times it should be repeated.

, GIF .

-, GIF - , , , , .

+3

System.Drawing.ImageAnimator. Animate, UpdateFrames StopAnimate .

0

All Articles