Blur qualityThe previous implementation takes into account only source pixels within 2 * standard deviation radius for everydestination pixel. This was not enough, so the quality was worse compared to other Gaussian blur software.The new implementation does not have this drawback.6.24.6 TIFF Parameter ChangesSeveral kwarg parameters for saving TIFF images were previously specified as strings with included spaces (e.g. ‘xresolution’). This was difficult to use as kwargs without constructing and passing a dictionary. These parameters nowuse the underscore character instead of space. (e.g. ‘x_resolution’)174Chapter 6. Release Notes
CHAPTER7Deprecations and removalsThis page lists Pillow features that are deprecated, or have been removed in past major releases, and gives the alterna-tives to use instead.7.1 Deprecated featuresBelow are features which are considered deprecated. Where appropriate, aDeprecationWarningis issued.7.1.1 Image.__del__Deprecated since version 6.1.0.Implicitly closing the image’s underlying file inImage.__del__has been deprecated. Use a context manager orcallImage.close()instead to close the file in a deterministic way.Deprecated:im=Image.open("hopper.png")im.save("out.jpg")Use instead:withImage.open("hopper.png")asim:im.save("out.jpg")7.1.2 Python 2.7Deprecated since version 6.0.0.Python 2.7 reaches end-of-life on 2020-01-01.175
Pillow (PIL Fork) Documentation, Release 6.2.0.dev0Pillow 7.0.0 will be released on 2020-01-01 and will drop support for Python 2.7, making Pillow 6.x the last series tosupport Python 22.214.171.124 PyQt4 and PySideDeprecated since version 6.0.0.Qt 4 reached end-of-life on 2015-12-19. Its Python bindings are also EOL: PyQt4 since 2018-08-31 and PySide since2015-10-14.Support for PyQt4 and PySide has been deprecated fromImageQtand will be removed in a future version. Pleaseupgrade to PyQt5 or PySide126.96.36.199 PIL.*ImagePlugin.__version__ attributesDeprecated since version 6.0.0.The version constants of individual plugins have been deprecated and will be removed in a future version. UsePIL.__version__instead.DeprecatedDeprecatedDeprecatedBmpImagePlugin.__version__Jpeg2KImagePlugin.__version__PngImagePlugin.__version__CurImagePlugin.__version__JpegImagePlugin.__version__PpmImagePlugin.__version__DcxImagePlugin.__version__McIdasImagePlugin.__version__PsdImagePlugin.__version__EpsImagePlugin.__version__MicImagePlugin.__version__SgiImagePlugin.__version__FliImagePlugin.__version__MpegImagePlugin.__version__SunImagePlugin.__version__FpxImagePlugin.__version__MpoImagePlugin.__version__TgaImagePlugin.__version__GdImageFile.__version__MspImagePlugin.__version__TiffImagePlugin.__version__GifImagePlugin.__version__PalmImagePlugin.__version__WmfImagePlugin.__version__IcoImagePlugin.__version__PcdImagePlugin.__version__XbmImagePlugin.__version__ImImagePlugin.__version__PcxImagePlugin.
You've reached the end of your free preview.
Want to read all 199 pages?
- Fall '18
- Julie Summers
- Portable Network Graphics, Graphics Interchange Format, Image file formats, Python Imaging Library