Play GIF only once

The GIF Animator example loops the GIF until DISPLAY_TIME_SECONDS. Is there a way to just play the GIF only once and then move on to next file? Thank you for any help!

Sorry. Nevermind. Saw an older post with solution:

1 Like

@nimbex if you’d like you can try my improved version of the animatedgifs library: https://github.com/marcmerlin/AnimatedGIFs
it has a file browser (prev next) over serial port or jump to number #, and better controls on how long to play/replay a gif

1 Like