From 2831acd89bf370e87d34a21422aaf9b75a700d65 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Sat, 25 Jun 2016 11:10:11 +0100 Subject: [PATCH] Updates for pr#1909 --- docs/handbook/image-file-formats.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index f6368469b..4e058b10a 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -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 (it is set to 9 regardless of a value passed). +**icc_profile** + The ICC Profile to include in the saved file. + **bits (experimental)** For ``P`` images, this option controls how many bits to store. If omitted, 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:: To enable PNG support, you need to build and install the ZLIB compression - library before building the Python Imaging Library. See the distribution - README for details. + library before building the Python Imaging Library. See the installation + documentation for details. PPM ^^^