Added release notes for #4256 [ci skip]

This commit is contained in:
Andrew Murray 2019-12-17 19:01:24 +11:00
parent 1785cad931
commit ba81712ec8

View File

@ -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.