From 2483f6198cacd8db927fcce198a48333fb117230 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 29 Sep 2018 10:48:07 +1000 Subject: [PATCH 1/3] Added release notes for #3250 [ci skip] --- docs/releasenotes/5.3.0.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/releasenotes/5.3.0.rst b/docs/releasenotes/5.3.0.rst index a5591b98d..c56b23646 100644 --- a/docs/releasenotes/5.3.0.rst +++ b/docs/releasenotes/5.3.0.rst @@ -16,6 +16,14 @@ For example, with all optional arguments:: ImageOps.colorize(im, black=(32, 37, 79), white='white', mid=(59, 101, 175), blackpoint=15, whitepoint=240, midpoint=100) +Curved joints for line sequences +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +``ImageDraw.Draw.line`` draws a line, or lines, between points. Previously, +when multiple points are given, for a larger ``width``, the joints between +these lines looked unsightly. There is now an additional optional argument, +``joint``, defaulting to ``None``. When it is set to ``curved``, the joints +between the lines will become rounded. Other Changes From 8bb5b6887bac3c51c42208037f9654af6a9e3730 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 29 Sep 2018 10:52:43 +1000 Subject: [PATCH 2/3] Added release notes for #3364 [ci skip] --- docs/releasenotes/5.3.0.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/releasenotes/5.3.0.rst b/docs/releasenotes/5.3.0.rst index c56b23646..5a1019aaa 100644 --- a/docs/releasenotes/5.3.0.rst +++ b/docs/releasenotes/5.3.0.rst @@ -25,6 +25,13 @@ these lines looked unsightly. There is now an additional optional argument, ``joint``, defaulting to ``None``. When it is set to ``curved``, the joints between the lines will become rounded. +ImageOps.pad +^^^^^^^^^^^^ + +While ``ImageOps.fit`` allows users to crop images to a requested aspect ratio +and size, new method ``ImageOps.pad`` pads images to fill a requested aspect +ratio and size, filling new space with a provided ``color`` and positioning the +image within the new area through a ``centering`` argument. Other Changes ============= From e8adec0af243e563334a591620320cff471d76e5 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 29 Sep 2018 11:12:49 +1000 Subject: [PATCH 3/3] Added release notes for #3298 [ci skip] --- docs/releasenotes/5.3.0.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/releasenotes/5.3.0.rst b/docs/releasenotes/5.3.0.rst index 5a1019aaa..5dade4228 100644 --- a/docs/releasenotes/5.3.0.rst +++ b/docs/releasenotes/5.3.0.rst @@ -36,3 +36,4 @@ image within the new area through a ``centering`` argument. Other Changes ============= +RGB WebP images are now read as RGB mode, rather than RGBX.