Python報錯:StopIteration: image file is truncated

錯誤展示:StopIteration: image file is truncated 報錯原因:圖像文件被截斷; 解決方法:在前面加載模塊的地方添加兩行代碼,輕鬆搞定 from PIL import ImageFile ImageFile.LOAD_TRUNCATED_IMAGES = True
相關文章
相關標籤/搜索