I use the following line from Pyglet docs to save screenshots in my OpenGL applications: pyglet.image.get_buffer_manager().get_color_buffer().save(shotfile) I have compiled Pyglet with USE=image to allow multiple image formats (using dev-python/pillow). After updating Pyglet from 1.5.13 to 1.5.14, these formats no longer work. Attempting to save as TGA, for example, fails with the following error: pyglet.image.codecs.ImageEncodeException: No image encoders are available Saving as PNG or BMP continues to work in Pyglet 1.5.14, as those formats do not use Pillow. Note that I recently filed #750107 concerning a very similar issue in Pyglet with Pillow. However, it was fixed in Pyglet 1.5.13.
Does it work if you downgrade? If so, this feels like it needs to go upstream.
The same error comes up with Pillow versions 7.2.0 and 8.0.1, along with the latest 8.1.0. So this is a different problem from #750107, and something was broken with the Pyglet update from 1.5.13 to 1.5.14.
But downgrading pyglet?
Pyglet 1.5.13 is working fine with all the aforementioned Pillow versions.
Could you test with 1.5.15?
(In reply to Michał Górny from comment #5) > Could you test with 1.5.15? I tested Pyglet 1.5.15 with Pillow 8.1.2 and I get the same error.