diff --git a/docs/releasenotes/10.1.0.rst b/docs/releasenotes/10.1.0.rst index 31b3e57ec74..937fc133294 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 =============