animaGIF() builds an animated GIF from png | jpg | bmp images files, or directly
from a live graphical figure.
It uses the JVM embedded in Scilab and is stand-alone. No external thirdparty
application (like ImageMagic or Gimp, etc) is required.
SYNTAXES
--------
// With a set of existing image files:
animaGIF(filemask, outgif)
animaGIF(imagefiles, outgif)
animaGIF(.., delay)
animaGIF(.., delay, loops)
// With a live graphic figure:
idGif = animaGIF(idFig, outgif) // opens the GIF stream
idGif = animaGIF(idFig, outgif, delay) // idem
idGif = animaGIF(idFig, outgif, delay, loops)
animaGIF(idFig, idGif) // adds a snapshot of the figure
animaGIF(idGif) // closes the GIF stream