Code covered by the BSD License  

Highlights from
IM2GIF

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 2.91 KB File ID: #32546
image thumbnail

IM2GIF

by Oliver Woodford

 

16 Aug 2011

Converts a multiframe image to an animated GIF.

| Watch this File

File Information
Description

This function converts a multiframe image to an animated GIF.

For example, to create an animation from a series of figures, export to a multiframe TIFF file using export_fig (also available on the FEX), then convert to a GIF, as follows:

    for a = 2 .^ (3:6)
       peaks(a);
       export_fig test.tif -nocrop -append
    end
    im2gif('test.tif', '-delay', 0.5);

MATLAB release MATLAB 7.11 (2010b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image Oliver Woodford 16 Aug 2011 09:35:36
multiframe Oliver Woodford 16 Aug 2011 09:35:36
animated Oliver Woodford 16 Aug 2011 09:35:36
animate Oliver Woodford 16 Aug 2011 09:35:36
gif Oliver Woodford 16 Aug 2011 09:35:36

Contact us at files@mathworks.com