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
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".../.venv/Lib/site-packages/PIL/Image.py", line 2413, in save
save_handler(self, fp, filename)
File ".../.venv/Lib/site-packages/PIL/PngImagePlugin.py", line 1218, in _save_all
_save(im, fp, filename, save_all=True)
File ".../.venv/Lib/site-packages/PIL/PngImagePlugin.py", line 1241, in _save
mode = modes.pop()
^^^^^^^^^^^KeyError: 'pop from an empty set'
This error doesn't occur without save_all=True, but then it doesn't save all frames. Saving as a GIF works.
The text was updated successfully, but these errors were encountered:
Yay295
changed the title
Error when saving apng wth save_all
Error when saving apng with save_allOct 12, 2023
num_plays.png
is in https://github.com/python-pillow/Pillow/tree/main/Tests/images/apng.This error doesn't occur without
save_all=True
, but then it doesn't save all frames. Saving as a GIF works.The text was updated successfully, but these errors were encountered: