# Exporting animated gifs; “AnimationRepetitions”->1 doesn't work

I'm trying to export a table of graphics into a gif animated file with just one repetition.

Export["C:\Race.gif", t, "AnimationRepetitions" -> 1]


It doesn't work. The exported gif repeats and repeats over.

What should I do?

• How do you know who is failing there? The Gif's generator or the renderer? – Dr. belisarius Oct 31 '14 at 11:13
• @belisarius You mean the program which opens my gif's may fail to repeat it once, don't you? – Behzad Oct 31 '14 at 11:28
• Yep. See (for example) superuser.com/a/159216/38729 – Dr. belisarius Oct 31 '14 at 11:57
• @belisarius You're right! I changed the code to "AnimationRepetitions" -> 0 (instead of 1) and opened the gif in Chrome. It ran just once. Thanks. – Behzad Oct 31 '14 at 14:23
• @Behzad Good then :) I'm deleting my comments. – Öskå Oct 31 '14 at 15:40

Solved. I changed the code to "AnimationRepetitions" -> 0 (instead of 1) and opened the gif in Chrome. It ran just once. My bad! I had not considered trying another way to open the gif. I overtrusted my gif renderer.
• This option gives error in 11.3 The value 0 specified for the option AnimationRepetitions is invalid – Nasser Apr 22 '18 at 23:15