From 2d5421f28fe3166bce6566a997c0c5a37b8d903c Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 7 Oct 2023 14:48:35 +1100 Subject: [PATCH] Added release notes for #7336 --- docs/releasenotes/10.1.0.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/releasenotes/10.1.0.rst b/docs/releasenotes/10.1.0.rst index 31b3e57ec..937fc1332 100644 --- a/docs/releasenotes/10.1.0.rst +++ b/docs/releasenotes/10.1.0.rst @@ -35,6 +35,17 @@ as a tuple. :: im.getpixel((0, 0)) im.getpixel([0, 0]) +BoxBlur and GaussianBlur allow for different x and y radii +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +py:meth:`~PIL.ImageFilter.BoxBlur` and py:meth:`~PIL.ImageFilter.GaussianBlur` +now allow a sequence of x and y radii to be specified, rather than a single +number for both dimensions. :: + + from PIL import ImageFilter + ImageFilter.BoxBlur((2, 5)) + ImageFilter.GaussianBlur((2, 5)) + API Additions =============