图片损坏的情况

/data/anaconda/envs/py35/lib/python3.5/site-packages/PIL/Image.py:2514: DecompressionBombWarning: Image size (98130452 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
  DecompressionBombWarning)

Python图形库处理大型图片的有关问

/data/anaconda/envs/py35/lib/python3.5/site-packages/PIL/TiffImagePlugin.py:756: UserWarning: Corrupt EXIF data.  Expecting to read 2 bytes but only got 0. 
  warnings.warn(str(msg))

图片的exif数据损坏

Corrupt JPEG data: premature end of data segment

我将报错的图片打印出来,发现都是损坏图片,直接将它们删除。

你可能感兴趣的:(Other)