Pillow/docs/releasenotes/4.0.0.rst

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1.5 KiB
ReStructuredText
Raw Normal View History

2016-12-31 20:29:28 +03:00
4.0.0
-----
Python 2.6 and 3.2 Dropped
==========================
Pillow 4.0 no longer supports Python 2.6 and 3.2. We will not be
creating binaries, testing, or retaining compatibility with these
releases. This release removes some workarounds for those Python
releases, so the final working version of Pillow on 2.6 or 3.2 is 3.4.2.
2016-12-31 20:31:39 +03:00
Support added for Python 3.6
============================
Pillow 4.0 supports Python 3.6.
2016-12-31 20:29:28 +03:00
OleFileIO.py
============
2023-10-30 09:56:42 +03:00
``OleFileIO.py`` has been removed as a vendored file and is now installed
from the upstream :pypi:`olefile` PyPI package. All internal dependencies are
2016-12-31 20:29:28 +03:00
redirected to the olefile package. Direct accesses to
``PIL.OlefileIO`` raises a deprecation warning, then patches the
upstream olefile into ``sys.modules`` in its place.
2018-01-27 09:04:46 +03:00
SGI image save
2016-12-31 20:29:28 +03:00
==============
It is now possible to save images in modes ``L``, ``RGB``, and
2018-01-27 09:04:46 +03:00
``RGBA`` to the uncompressed SGI image format.
2016-12-31 20:29:28 +03:00
Zero sized images
=================
Pillow 3.4.0 removed support for creating images with (0,0) size. This
2018-01-27 09:04:46 +03:00
has been reenabled, restoring pre 3.4 behavior.
2016-12-31 20:29:28 +03:00
Internal handles_eof flag
=========================
The ``handles_eof flag`` for decoding images has been removed, as there
were no internal users of the flag. Anyone maintaining image decoders
outside of the Pillow source tree should consider using the cleanup
2018-01-27 09:04:46 +03:00
function pointers instead.
2016-12-31 20:29:28 +03:00
Image.core.stretch removed
==========================
The stretch function on the core image object has been removed. This
used to be for enlarging the image, but has been aliased to resize
2018-01-27 09:04:46 +03:00
recently.