mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-22 05:04:46 +03:00
Document Image.quantize method defaults [ci skip]
The method uses different defaults for different image modes.
This commit is contained in:
parent
c377d8ca88
commit
d273d08949
|
@ -1053,12 +1053,10 @@ class Image:
|
||||||
of colors.
|
of colors.
|
||||||
|
|
||||||
:param colors: The desired number of colors, <= 256
|
:param colors: The desired number of colors, <= 256
|
||||||
:param method: :data:`MEDIANCUT` (median cut),
|
:param method: :data:`MEDIANCUT` (default),
|
||||||
:data:`MAXCOVERAGE` (maximum coverage),
|
:data:`MAXCOVERAGE`,
|
||||||
:data:`FASTOCTREE` (fast octree),
|
:data:`FASTOCTREE` (default for RGBA images),
|
||||||
:data:`LIBIMAGEQUANT` (libimagequant; check support using
|
:data:`LIBIMAGEQUANT`.
|
||||||
:py:func:`PIL.features.check_feature`
|
|
||||||
with ``feature="libimagequant"``).
|
|
||||||
:param kmeans: Integer
|
:param kmeans: Integer
|
||||||
:param palette: Quantize to the palette of given
|
:param palette: Quantize to the palette of given
|
||||||
:py:class:`PIL.Image.Image`.
|
:py:class:`PIL.Image.Image`.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user