Added release notes for #7882

This commit is contained in:
Andrew Murray 2024-03-25 10:04:02 +11:00
parent 0248e41800
commit d7dba1cc67

View File

@ -67,6 +67,12 @@ Negative kmeans error
When calling :py:meth:`~PIL.Image.Image.quantize`, a negative ``kmeans`` will now
raise a :py:exc:`ValueError`, unless a palette is supplied to make the value redundant.
Negative P1-P3 PPM value error
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If a P1-P3 PPM image contains a negative value, a :py:exc:`ValueError` will now be
raised.
API Additions
=============