Added release notes for #7336

This commit is contained in:
Andrew Murray 2023-10-07 14:48:35 +11:00
parent 21eec5ce75
commit 2d5421f28f

View File

@ -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
=============