5.0.0 (2018-01-01)
Backwards incompatible changes
Python 3.3 dropped
Python 3.3 is EOL and no longer supported due to moving testing from nose, which is deprecated, to pytest, which doesn’t support Python 3.3. We will not be creating binaries, testing, or retaining compatibility with this version. The final version of Pillow for Python 3.3 is 4.3.0.
Decompression bombs now raise exceptions
Pillow has previously emitted warnings for images that are
unexpectedly large and may be a denial of service. These warnings are
now upgraded to DecompressionBombErrors for images that are twice
the size of images that trigger the DecompressionBombWarning. The
default threshold is 128Mpx, or 0.5GB for an RGB or RGBA
image. This can be disabled or changed by setting
Image.MAX_IMAGE_PIXELS = None.