File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,10 +61,24 @@ Deprecated Use instead
6161API 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
6983API Additions
7084=============
You can’t perform that action at this time.
0 commit comments