animation = pyglet.image.load_animation(fn)
raise ImageDecodeException('This decoder cannot decode animations.')
pyglet.image.codecs.ImageDecodeException: This decoder cannot decode animations.
--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyglet-users/0ee23a03-3820-422b-b4e3-6e7c70c04e69%40googlegroups.com.
File "/home/vsuess/git/pyglet/examples/anigif.py", line 4, in <module>
ani = pyglet.image.load_animation('25129.gif')
File "/home/vsuess/.local/lib/python3.7/site-packages/pyglet/image/__init__.py", line 251, in load_animation
raise first_exception
File "/home/vsuess/.local/lib/python3.7/site-packages/pyglet/image/__init__.py", line 243, in load_animation
image = decoder.decode_animation(file, filename)
File "/home/vsuess/.local/lib/python3.7/site-packages/pyglet/image/codecs/__init__.py", line 100, in decode_animation
raise ImageDecodeException('This decoder cannot decode animations.')
--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyglet-users/01af2a0c-58f2-482d-8603-df2f57190a7c%40googlegroups.com.
pyglet-1.4-maintenance
branch.pip install --upgrade --user git+https://github.com/pyglet/pygle...@pyglet-1.4-maintenance
Ubuntu 19.04+, you need to manually install theIn addition, I added support for loading animated GIFs to the PIL/Pillow image codec. This will be out in the next v1.4.9 release.If anyone wants to test it, it's thepyglet-1.4-maintenance
branch.
To install via pip, this command should work:
pip install --upgrade --user git+https://github.com/pyglet/pyglet.git@pyglet-1.4-maintenance