display an animated image

6 views (last 30 days)
Oyewale Oyelami
Oyewale Oyelami on 28 Jul 2011
Commented: Josh Philipson on 10 Dec 2015
all i want to do is to display an animated image using any available methodd without losing the effect or the animation on the image...probably gif format....but i have tried a = imread('car.gif'); imshow(a); but the animation becomes static thanks..

Answers (1)

Oleg Komarov
Oleg Komarov on 28 Jul 2011
  • [a,b] = imread('http://www.animatedgif.net/arrowpointers/arrow20_e0.gif','frames','all');
  • implay(a)
  3 Comments
Walter Roberson
Walter Roberson on 28 Jul 2011
YourFileName = 'C:\Users\oeyewale\Documents and Settings\MyGif.gif';
[a,b] = imread(YourFileName, 'frames', 'all');
implay(a)
Adjust file name as needed.
Josh Philipson
Josh Philipson on 10 Dec 2015
...and this is proprietary to 'Image Processing Toolbox'...

Sign in to comment.

Categories

Find more on Animation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!