Menu

#249 unable to loop once when writing GIF

v1.0_(example)
closed-rejected
None
5
2014-09-04
2013-11-05
No

I am unable to create a GIF file that loops only once (plays the sequence twice). Using the animationIterations() method, setting to different values I get:

  • animationIterations (0) - infinite loop
  • animationIterations (1) - no loop (plays sequence 1 time)
  • animationIterations (2) - loops twice (plays sequence 3 times)

I am checking this Gnome image viewer (gm display always exits after the last image).

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2014-01-05
    • status: open --> closed-rejected
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2014-01-05

    I do not agree that a GIF animation should play a sequence three times given a Netscape extension loop count of 2. Testing with Firefox reveals that it shows the animation twice. Testing with 'gm animate' shows the sequence twice. The best reference I am able to find is

    http://www.vurdalakov.net/misc/gif/netscape-looping-application-extension.

    I looked at this some more. If I do what you ask, the Netscape loop extension will be added to GIFs which did not have it before.

    Closing this bug too.

     

Log in to post a comment.

MongoDB Logo MongoDB