OSError: image file is truncated (7 bytes not processed)

添加2行代码即可

from PIL import ImageFile

ImageFile.LOAD_TRUNCATED_IMAGES = True

posted on 2020-03-27 11:13  cltt  阅读(736)  评论(0编辑  收藏  举报

导航