Skip to content

Commit

Permalink
Merge pull request #4275 from radarhere/thumbnail
Browse files Browse the repository at this point in the history
Added release notes for #4256
  • Loading branch information
hugovk committed Dec 17, 2019
2 parents 1785cad + ba81712 commit aa2c5f9
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 aa2c5f9

Please sign in to comment.