display an animated image

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

1 vote

  • [a,b] = imread('http://www.animatedgif.net/arrowpointers/arrow20_e0.gif','frames','all');
  • implay(a)

3 Comments

what am seeing looks like a web.. address..if am very sure or is it a directory on desktop
YourFileName = 'C:\Users\oeyewale\Documents and Settings\MyGif.gif';
[a,b] = imread(YourFileName, 'frames', 'all');
implay(a)
Adjust file name as needed.
...and this is proprietary to 'Image Processing Toolbox'...

Sign in to comment.

Products

Asked:

on 28 Jul 2011

Commented:

on 10 Dec 2015

Community Treasure Hunt

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

Start Hunting!