运维开发网
广告位招商联系QQ:123077622
 
广告位招商联系QQ:123077622

OSError: image file is truncated (12 bytes not processed) Premature end of JPEG file

运维开发网 https://www.qedev.com 2021-05-09 20:20 出处:51CTO 作者:wx60962e30e0986
OSError: image file is truncated (12 bytes not processed) Premature end of JPEG file,wx60962e30e0986的博客原创的其他文章。

解决办法是,再添加如下2句代码: 

from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True

扫码领视频副本.gif

0

精彩评论

暂无评论...
验证码 换一张
取 消