3.66667

3.7 | 3 ratings Rate this file 58 downloads (last 30 days) File Size: 92.74 KB File ID: #12673

GIF Player

by Vihang Patil

 

17 Oct 2006 (Updated 28 May 2009)

Code covered by BSD License  

This function will display the animated GIF's in the figure window

Download Now | Watch this File

File Information
Description

This is a GIF player, which will play your animated GIF's in the figure or gui window.

Demo : gifplayer; %plays the animated crystal.gif file provided with this submission

Usage:
ex: gifplayer('animated.gif',0.1); %delay is in seconds

There could be more enhancements to this program which could be added on, so comments most welcome from the readers.

MATLAB release MATLAB 7.0.4 (R14SP2)
Other requirements 1.Tested in R14SP2 for windows XP, have not tested on other platforms. 2.Users having Image Processing ToolBox will have better results.
Zip File Content  
Other Files abcd.gif,
crystal.gif,
gifplayer.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
18 Oct 2006 Jos x@y.z

That you created this in a hurry, does not mean that you have to post it directly. The FEX can wait ...

The use of appdata should be avoided.
A delay of 0.2 causes an update every 0.5 seconds ???

18 Oct 2006 Vihang Patil

Thanks Jos
Well it was a typo error that I didnot update the comments part. So the delay of 0.2 sec causes an update after 0.2 sec only. Thank you for letting me know that.
Well regarding using appdata, I am not quite sure how to pass variables in the other function with the "@" sign , so had to use this alternative. If you could modify it and let me know later at your convenience, it would rather help my knowledge in passing variables to a function

14 Dec 2007 Rahul Gandhi

This is what I wanted

14 Dec 2007 John Hopkins

Nice Utility.

30 Jan 2009 Troy

I was going to use this to display a loading icon, which works fine if I put a break point in the code. The problem is that it freezes when the rest of the code executes. Is there a way to make it work in parallel?

Thanks

Please login to add a comment or rating.
Updates
18 Oct 2006

Comments altered according the user review

19 Oct 2006

Revision:
Date: 19th Oct 2006
Multiple Gif's can be called upon which can be opened in new figure window.
ex: figure;gifplayer;
ex: figure;gifplayer('abcd.gif',0.1); and so on.

21 Jan 2008

1.Used handles property effectively 2.Can be useful for users not having image processing toolbox

28 May 2009

Improved Function handling

Tag Activity for this File
Tag Applied By Date/Time
gif Vihang Patil 22 Oct 2008 08:44:04
player Vihang Patil 22 Oct 2008 08:44:04
images Vihang Patil 22 Oct 2008 08:44:04
animated Vihang Patil 22 Oct 2008 08:44:04
animation Cristina McIntire 07 Nov 2008 12:53:51
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com