MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Animated gif


On 18 Oct 1999, Hendrik van Hees wrote:

> I switched recently from Mathematica. 3.0 to Mathematica. 4.0 for students. Export is
> really great! But how can I make it to produce animated gif with a loop.
> 
> I use 
> 
> Export["/u/vanhees/math/quant/free-motion.gif", motion, "Loop" -> True]
> 
> as well as
> 
> Export["/u/vanhees/math/quant/free-motion.gif", motion, Loop -> True]
> 
> Both versions give a nice animated gif but not with a loop, i.e. it runs
> only one time. Since I like to put it on the web it would be better if
> it would do so.
> 
> Is there another trick or is it a bug? If so, how can I fix it?

The option "Loop" must be expressed as a suboption to the aggregate option
ConversionOptions.

Export["/u/vanhees/math/quant/free-motion.gif", motion,
  ConversionOptions -> {"Loop" -> True}]

This is documented in the online reference guide entry for Export[].

--
P.J. Hinton
Mathematica Programming Group           paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.



  • Prev by Date: Matrices-in-functions question
  • Next by Date: Want to plot list with modified x-axis.
  • Previous by thread: Animated gif
  • Next by thread: Urgent Help needed