From 1275b10e6f034518318317648206846e624924d0 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 20 Dec 2019 23:21:43 +0300 Subject: [PATCH] update release notes --- docs/releasenotes/7.0.0.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/releasenotes/7.0.0.rst b/docs/releasenotes/7.0.0.rst index 08933eaf8..01fa0b8a3 100644 --- a/docs/releasenotes/7.0.0.rst +++ b/docs/releasenotes/7.0.0.rst @@ -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.