错误:OSError: broken data stream when reading image file 程序上方添加 from PIL import Image, ImageFile ImageFile.LOAD_TRUNCATED_IMAGES = True