mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 08:12:33 +03:00
Merge pull request #1992 from uploadcare/resize-rotation-release-notes
Release notes for resize and rotation
This commit is contained in:
commit
bc57e08177
|
@ -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