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.

Antworten (1)

Walter Roberson
Walter Roberson am 28 Nov. 2016

0 Stimmen

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

1 Kommentar

Wilf Nelson
Wilf Nelson am 28 Nov. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 28 Nov. 2016

Kommentiert:

am 28 Nov. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by