mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
release notes for resize and rotation
This commit is contained in:
parent
f6c85a1c19
commit
8a0c589c29
|
@ -10,6 +10,7 @@ platforms. This support requires building Pillow from source against
|
||||||
libimagequant. We cannot distribute binaries due to licensing
|
libimagequant. We cannot distribute binaries due to licensing
|
||||||
differences.
|
differences.
|
||||||
|
|
||||||
|
|
||||||
New Setup.py options
|
New Setup.py options
|
||||||
====================
|
====================
|
||||||
|
|
||||||
|
@ -24,6 +25,27 @@ There are two new options to control the ``build_ext`` task in ``setup.py``:
|
||||||
variables.
|
variables.
|
||||||
|
|
||||||
|
|
||||||
|
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.
|
||||||
|
This greately improve both quality and performance in this cases.
|
||||||
|
Also, the bug with wrong image size calculation when rotating by 90 degrees
|
||||||
|
was fixed.
|
||||||
|
|
||||||
|
|
||||||
Image Metadata
|
Image Metadata
|
||||||
==============
|
==============
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user