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.
1 parent b4f0133 commit a7f339dCopy full SHA for a7f339d
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 an average
64
+of 3x faster and ``st.extrema`` is an average of 12x faster.
0 commit comments