mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
update release notes
This commit is contained in:
parent
b112e55070
commit
1275b10e6f
|
@ -118,8 +118,12 @@ Use instead:
|
||||||
with Image.open("hopper.png") as im:
|
with Image.open("hopper.png") as im:
|
||||||
im.save("out.jpg")
|
im.save("out.jpg")
|
||||||
|
|
||||||
Better thumbnail aspect ratio preservation
|
Better thumbnail geometry
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
When calculating the new dimensions in ``Image.thumbnail``, round to the
|
When calculating the new dimensions in ``Image.thumbnail``, round to the
|
||||||
nearest integer, instead of always rounding down.
|
nearest integer, instead of always rounding down.
|
||||||
|
This better preserves the original aspect ratio.
|
||||||
|
|
||||||
|
The last row and column in the image get the correct weight after
|
||||||
|
JPEG DCT scaling when image size is not divisible by 8.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user