mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Merge pull request #4275 from radarhere/thumbnail
Added release notes for #4256
This commit is contained in:
commit
aa2c5f91af
|
@ -92,3 +92,9 @@ Use instead:
|
|||
|
||||
with Image.open("hopper.png") as im:
|
||||
im.save("out.jpg")
|
||||
|
||||
Better thumbnail aspect ratio preservation
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
When calculating the new dimensions in ``Image.thumbnail``, round to the
|
||||
nearest integer, instead of always rounding down.
|
||||
|
|
Loading…
Reference in New Issue
Block a user