How to make gifs automatically repeat

Hello,
I am looking for a way to make the gif that I am downloading not only automatically play once it is has been loaded but also run at 5 FPS and automatically repeat. I do not want my player to have to use any keyboard commands so it will have to be entirely automated. The code below has been very helpful.
[A,map]=imread('giphy.gif','frames','all');
mov=immovie(A,map);
implay(mov, 1,)
Currently using the help function I have learnt to use implay(I) and implay(..., FPS) but these do not work together nor do they help with my automatic repeat requirement.
Any help would be appreciated.

Respuestas (1)

Walter Roberson
Walter Roberson el 28 de Nov. de 2016

0 votos

You could modify videofig File Exchange contribution if it does not already support repeating.

1 comentario

Wilf Nelson
Wilf Nelson el 28 de Nov. de 2016
How would I go about that for a gif I've found off the internet? the plan is to show memes from the internet as joke error messages for incorrect responses.

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Nov. de 2016

Comentada:

el 28 de Nov. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by