MathGroup Archive 2008

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

Search the Archive

Re: on Export and AnimationRepetitions

  • To: mathgroup at
  • Subject: [mg86329] Re: on Export and AnimationRepetitions
  • From: Sam <samk522 at>
  • Date: Sat, 8 Mar 2008 05:44:25 -0500 (EST)
  • References: <fqo8s2$t1f$> <fqqrq0$k97$>

Thanks dh and Xerxes.

The one where one manipulates the display time of each frame as in


is a clever work-around.

The help files don't really specify that AnimationRepetitions->1 would
work for Export. It does work for built-in the animation commands.
Anyhow, the problem is solved for now. We should all write to
Mathematica and let them know about this bug.


On Mar 7, 2:45 am, Xerxes < at> wrote:
> Hello,
> > Export["~/Desktop/test.gif", %, AnimationRepetitions->1],
> > but it didn't work. The file generated still plays the animation over
> > and over again.
> I tried this out on 6.0.1 under Windows and verified that it is
> broken.
> A simple workaround might be
> Export["~/Desktop/test.gif",%,"DisplayDurations"-
> >ReplacePart[ConstantArray[0.5,Length[%]],3600,-1]]
> Of course, this will fail if somebody views your animation for over
> an hour. Don't try substituting Infinity for the long duration, since
> this crashes the GIF-making subprogram.

  • Prev by Date: Re: Another Mathematica 6 bug?
  • Next by Date: Re: Searching for multiple strings in a list
  • Previous by thread: Re: on Export and AnimationRepetitions
  • Next by thread: Troubling Bug involving RandomReal, NestList, and Table