4.2.0 (2017-07-01)
Backwards incompatible changes
Several deprecated items have been removed
The methods
PIL.ImageWin.Dib.fromstring,PIL.ImageWin.Dib.tostringandPIL.TiffImagePlugin.ImageFileDirectory_v2.as_dicthave been removed.Before Pillow 4.2.0, attempting to save an RGBA image as JPEG would discard the alpha channel. From Pillow 3.4.0, a deprecation warning was shown. From Pillow 4.2.0, the deprecation warning is removed and an
IOErroris raised.
Removed core Image function
The unused function Image.core.new_array was removed. This is an
internal function that should not have been used by user code, but it
was accessible from the python layer.