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.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 11월 28일

0 개 추천

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

댓글 수: 1

Wilf Nelson
Wilf Nelson 2016년 11월 28일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

질문:

2016년 11월 28일

댓글:

2016년 11월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by