Image size exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
PythonPIL读图出现上述问题。原因提示很明确,就是因为图片太大了,可能被解压炸弹DOS攻击。问题出现的本质是一个警告。PILismerelytryingtoprotectyou.It’llnotopenlargerimages,asthatcouldbeavectorofattackforamalicioususertogiveyoualargeimagethat’llexpandtouse