update release notes

This commit is contained in:
Alexander 2019-12-20 23:21:43 +03:00
parent b112e55070
commit 1275b10e6f

View File

@ -118,8 +118,12 @@ Use instead:
with Image.open("hopper.png") as im:
im.save("out.jpg")
Better thumbnail aspect ratio preservation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Better thumbnail geometry
^^^^^^^^^^^^^^^^^^^^^^^^^
When calculating the new dimensions in ``Image.thumbnail``, round to the
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.