错误代码
OSError: image file is truncated (54 bytes not processed)
解决方法
第一种:找到丢失内容的图片
第二种:在运行的程序中添加代码
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True
错误代码
OSError: image file is truncated (54 bytes not processed)
解决方法
第一种:找到丢失内容的图片
第二种:在运行的程序中添加代码
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True