mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +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
|
||||
: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, 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**
|
||||
For ``P`` images: Either the palette index for full transparent pixels,
|
||||
or a byte string with alpha values for each palette entry.
|
||||
|
|
Loading…
Reference in New Issue
Block a user