Skip to content

Commit 5e448b3

Browse files
authored
Merge pull request #7904 from radarhere/releasenotes
Added release notes for #7872, #7882 and #7891
2 parents 19cd94b + 38f9193 commit 5e448b3

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

docs/releasenotes/10.3.0.rst

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,24 @@ Deprecated Use instead
6161
API Changes
6262
===========
6363

64-
TODO
65-
^^^^
64+
Added alpha_quality argument when saving WebP images
65+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6666

67-
TODO
67+
When saving WebP images, an ``alpha_quality`` argument can be passed to the encoder. It
68+
is an integer value between 0 to 100, where values other than 100 will provide lossy
69+
compression.
70+
71+
Negative kmeans error
72+
^^^^^^^^^^^^^^^^^^^^^
73+
74+
When calling :py:meth:`~PIL.Image.Image.quantize`, a negative ``kmeans`` will now
75+
raise a :py:exc:`ValueError`, unless a palette is supplied to make the value redundant.
76+
77+
Negative P1-P3 PPM value error
78+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79+
80+
If a P1-P3 PPM image contains a negative value, a :py:exc:`ValueError` will now be
81+
raised.
6882

6983
API Additions
7084
=============

0 commit comments

Comments
 (0)