4.2.0

Removed Deprecated Items

Several deprecated items have been removed.

  • The methods PIL.ImageWin.Dib.fromstring(), PIL.ImageWin.Dib.tostring() and PIL.TiffImagePlugin.ImageFileDirectory_v2.as_dict() have 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 IOError is raised.