Writes a matlab movie to an animated GIF. USAGE makeGif( M, fileName, prm ) INPUTS M - Matlab movie fileName - file name of the output gif file prm .fps - number of frames per second .nColor - number of indexes colors .scale - scale to resize the frames at .loop - number of times to repeat the movie (Inf possible) OUTPUTS EXAMPLE load( 'images.mat' ); M = playMovie( video, [], 1 ); makeGif( M, 'mouse.gif', struct('scale',0.5) ); See also PLAYMOVIE, MONTAGE2 Piotr's Image&Video Toolbox Version 2.0 Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu] Please email me if you find bugs, or have suggestions or questions! Licensed under the Lesser GPL [see external/lgpl.txt]