You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found it. According to the Pillow Docs, adding the loop parameter to the save call to sets the number of times the gif loops.
I found this, and he set loop=0. One might think this that would be not looping (I guess 1 is not looping), but I decided to try it. I simply added loop=0 to the call on this line (I literally just modified that line in my site-packages), and lone behold endless looping.
Presumably, we should make this configurable.
self.loop = kwargs.pop("loop", 0)
to the __init__ of PillowWriter, and then loop=self.loop to the call to save.
Activity
dopplershift commentedon Jul 28, 2018
If someone knows the incantation to use with
pillowto make a gif loop, then we can add it.t-makaro commentedon Jul 28, 2018
I found it. According to the Pillow Docs, adding the
loopparameter to the save call to sets the number of times the gif loops.I found this, and he set
loop=0. One might think this that would be not looping (I guess 1 is not looping), but I decided to try it. I simply addedloop=0to the call on this line (I literally just modified that line in my site-packages), and lone behold endless looping.Presumably, we should make this configurable.
to the
__init__of PillowWriter, and thenloop=self.loopto the call to save.jklymak commentedon Jul 28, 2018
Seems like a reasonable addition to the API. If you'd like to try a PR folks here will help you...