Skip to content

Commit 2d5421f

Browse files
committed
Added release notes for python-pillow#7336
1 parent 21eec5c commit 2d5421f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/releasenotes/10.1.0.rst

+11
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ as a tuple. ::
3535
im.getpixel((0, 0))
3636
im.getpixel([0, 0])
3737

38+
BoxBlur and GaussianBlur allow for different x and y radii
39+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40+
41+
py:meth:`~PIL.ImageFilter.BoxBlur` and py:meth:`~PIL.ImageFilter.GaussianBlur`
42+
now allow a sequence of x and y radii to be specified, rather than a single
43+
number for both dimensions. ::
44+
45+
from PIL import ImageFilter
46+
ImageFilter.BoxBlur((2, 5))
47+
ImageFilter.GaussianBlur((2, 5))
48+
3849
API Additions
3950
=============
4051

0 commit comments

Comments
 (0)