mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-01 03:33:21 +03:00
docs for new info items
This commit is contained in:
parent
e5ff9db407
commit
03150c2410
|
@ -408,9 +408,22 @@ PIL identifies, reads, and writes PNG files containing ``1``, ``L``, ``P``,
|
||||||
The :py:meth:`~PIL.Image.Image.open` method sets the following
|
The :py:meth:`~PIL.Image.Image.open` method sets the following
|
||||||
:py:attr:`~PIL.Image.Image.info` properties, when appropriate:
|
:py:attr:`~PIL.Image.Image.info` properties, when appropriate:
|
||||||
|
|
||||||
|
**chromaticity**
|
||||||
|
The chromaticity points, as an 8 tuple of floats. (``White Point
|
||||||
|
X``, ``White Point Y``, ``Red X``, ``Red Y``, ``Green X``, ``Green
|
||||||
|
Y``, ``Blue X``, ``Blue Y``)
|
||||||
|
|
||||||
**gamma**
|
**gamma**
|
||||||
Gamma, given as a floating point number.
|
Gamma, given as a floating point number.
|
||||||
|
|
||||||
|
**srgb**
|
||||||
|
The sRGB rendering intent as a integer.
|
||||||
|
|
||||||
|
* 0 Perceptual
|
||||||
|
* 1 Relative Colorimetric
|
||||||
|
* 2 Saturation
|
||||||
|
* 3 Absolute Colorimetric
|
||||||
|
|
||||||
**transparency**
|
**transparency**
|
||||||
For ``P`` images: Either the palette index for full transparent pixels,
|
For ``P`` images: Either the palette index for full transparent pixels,
|
||||||
or a byte string with alpha values for each palette entry.
|
or a byte string with alpha values for each palette entry.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user