Pillow/Tests/32bit_overflow_check.py
2019-06-26 19:08:07 +10:00

7 lines
96 B
Python

from PIL import Image
import sys
if sys.maxsize < 2**32:
Image.core.set_blocks_max(2**29)