Skip to content

Commit a7f339d

Browse files
committed
Added release notes for #7599 and #7593
1 parent b4f0133 commit a7f339d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/releasenotes/10.2.0.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,11 @@ Support has been added to read the BC4U format of DDS images.
5454

5555
Support has also been added to read DX10 BC1 and BC4, whether UNORM or
5656
TYPELESS.
57+
58+
Optimized ImageStat.Stat count and extrema
59+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
60+
61+
Calculating the :py:attr:`~PIL.ImageStat.Stat.count` and
62+
:py:attr:`~PIL.ImageStat.Stat.extrema` statistics is now faster. After the
63+
histogram is created in ``st = ImageStat.Stat(im)``, ``st.count`` is an average
64+
of 3x faster and ``st.extrema`` is an average of 12x faster.

0 commit comments

Comments
 (0)