makeGif

PURPOSE ^

Writes a matlab movie to an animated GIF.

SYNOPSIS ^

function makeGif( M, fileName, prm )

DESCRIPTION ^

 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 Computer Vision Matlab Toolbox      Version 2.0
 Copyright 2014 Piotr Dollar.  [pdollar-at-gmail.com]
 Licensed under the Simplified BSD License [see external/bsd.txt]

Generated by m2html © 2003