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
whenever i try to save a screenshot it raise pillow unidentify io_byte(as show in the picture)
I already try to reinstall pillow and set DISPLAY_DATA_BYTES to 1152000 but still didn't work
The text was updated successfully, but these errors were encountered:
The issue seems that in case of 800x480 scopes the PNG file is truncated even if you set DISPLAY_DATA_BYTES to 1152000 (= 800x480x3).
Adding from PIL import ImageFile ImageFile.LOAD_TRUNCATED_IMAGES = True
after the block with from PIL import Image, ImageOps, ImageEnhance
in cli.py seems to solve it as a workaround but the real issue is obviously somewhere else and needs to be fixed there.
finger563
added a commit
to finger563/ds1054z
that referenced
this issue
Apr 24, 2023
whenever i try to save a screenshot it raise pillow unidentify io_byte(as show in the picture)
I already try to reinstall pillow and set DISPLAY_DATA_BYTES to 1152000 but still didn't work
The text was updated successfully, but these errors were encountered: