2016-05-26 23:55:36 +03:00
|
|
|
3.3.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
Libimagequant support
|
|
|
|
=====================
|
|
|
|
|
|
|
|
There is now support for using libimagequant as a higher quality
|
2016-05-27 08:52:46 +03:00
|
|
|
quantization option in ``Image.quantize()`` on Unix-like
|
2016-05-26 23:55:36 +03:00
|
|
|
platforms. This support requires building Pillow from source against
|
2016-05-27 08:52:46 +03:00
|
|
|
libimagequant. We cannot distribute binaries due to licensing
|
2016-05-26 23:55:36 +03:00
|
|
|
differences.
|
|
|
|
|
2016-06-30 03:38:18 +03:00
|
|
|
|
2016-05-26 23:55:36 +03:00
|
|
|
New Setup.py options
|
|
|
|
====================
|
|
|
|
|
2016-06-11 17:45:00 +03:00
|
|
|
There are two new options to control the ``build_ext`` task in ``setup.py``:
|
2016-05-26 23:55:36 +03:00
|
|
|
|
|
|
|
* ``--debug`` dumps all of the directories and files that are
|
|
|
|
checked when searching for libraries or headers when building the
|
|
|
|
extensions.
|
|
|
|
* ``--disable-platform-guessing`` removes many of the directories
|
|
|
|
that are checked for libraries and headers for build systems or
|
|
|
|
cross compilers that specify that information in via environment
|
|
|
|
variables.
|
2016-06-26 14:21:42 +03:00
|
|
|
|
|
|
|
|
2016-06-30 03:38:18 +03:00
|
|
|
Resizing
|
|
|
|
========
|
|
|
|
|
|
|
|
Image resampling for 8-bit per channel images was rewritten using only integer
|
|
|
|
computings. This is faster on most of the platforms and doesn't introduce
|
|
|
|
precision errors on the wide range of scales. With other performance
|
|
|
|
improvements, this makes resampling 60% faster on average.
|
|
|
|
|
|
|
|
Color calculation for images in the ``LA`` mode on semitransparent pixels
|
|
|
|
was fixed.
|
|
|
|
|
|
|
|
|
|
|
|
Rotation
|
|
|
|
========
|
|
|
|
|
|
|
|
Rotation for angles divisible by 90 degrees now always uses transposition.
|
2016-07-01 14:49:44 +03:00
|
|
|
This greatly improve both quality and performance in this cases.
|
2016-07-01 14:27:01 +03:00
|
|
|
Also, the bug with wrong image size calculation when rotating by 90 degrees
|
2016-06-30 03:38:18 +03:00
|
|
|
was fixed.
|
|
|
|
|
|
|
|
|
2016-06-26 14:21:42 +03:00
|
|
|
Image Metadata
|
|
|
|
==============
|
|
|
|
|
|
|
|
The return type for binary data in version 2 Exif and Tiff metadata
|
|
|
|
has been changed from a tuple of integers to bytes. This is a change
|
|
|
|
from the behavior since ``3.0.0``.
|
|
|
|
|