c# How can I make my gif animation loop in a picturebox

12,401

Animated GIFs have a few different settings. Usually, embedded in the file is some data that tells the renderer how the image should be displayed.

This data says how fast the image is animated, if it should loop infinitely, or how many times it should repeat.

There are several programs available that you can use to edit an animated GIF and change the looping settings.

First, I'd open your GIF in some app to preview it to see if it loops before trying to alter the image.

Share:
12,401
Brad
Author by

Brad

Updated on June 04, 2022

Comments

  • Brad
    Brad almost 2 years

    I have imported an animated GIF as a resource into a picturebox - unfortunitly it only plays to the end frame and never repeats. Id there something I could do to make it loop continiously. The gif is for my "please wait busy box"

    Brad