mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Updates for pr#1909
This commit is contained in:
parent
1a6c6b1250
commit
2831acd89b
|
@ -412,6 +412,9 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:
|
||||||
When ``optimize`` option is True ``compress_level`` has no effect
|
When ``optimize`` option is True ``compress_level`` has no effect
|
||||||
(it is set to 9 regardless of a value passed).
|
(it is set to 9 regardless of a value passed).
|
||||||
|
|
||||||
|
**icc_profile**
|
||||||
|
The ICC Profile to include in the saved file.
|
||||||
|
|
||||||
**bits (experimental)**
|
**bits (experimental)**
|
||||||
For ``P`` images, this option controls how many bits to store. If omitted,
|
For ``P`` images, this option controls how many bits to store. If omitted,
|
||||||
the PNG writer uses 8 bits (256 colors).
|
the PNG writer uses 8 bits (256 colors).
|
||||||
|
@ -422,8 +425,8 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
To enable PNG support, you need to build and install the ZLIB compression
|
To enable PNG support, you need to build and install the ZLIB compression
|
||||||
library before building the Python Imaging Library. See the distribution
|
library before building the Python Imaging Library. See the installation
|
||||||
README for details.
|
documentation for details.
|
||||||
|
|
||||||
PPM
|
PPM
|
||||||
^^^
|
^^^
|
||||||
|
|
Loading…
Reference in New Issue
Block a user