Skip to content

Commit

Permalink
Added release notes for python-pillow#4256 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 17, 2019
1 parent 1785cad commit ba81712
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/releasenotes/7.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit ba81712

Please sign in to comment.