We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4f0133 + afae568 commit 9763478Copy full SHA for 9763478
docs/releasenotes/10.2.0.rst
@@ -54,3 +54,11 @@ Support has been added to read the BC4U format of DDS images.
54
55
Support has also been added to read DX10 BC1 and BC4, whether UNORM or
56
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 3x as fast
64
+on average and ``st.extrema`` is 12x as fast on average.
0 commit comments