mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Updated pixel range documentation [ci skip]
This commit is contained in:
parent
2787b9b991
commit
64eff66ee7
|
@ -25,9 +25,9 @@ Modes
|
|||
-----
|
||||
|
||||
The ``mode`` of an image defines the type and depth of a pixel in the image.
|
||||
Each pixel uses the full range of the bit depth. So a 1-bit pixel has a range
|
||||
of 0-1, an 8-bit pixel has a range of 0-255 and so on. The current release
|
||||
supports the following standard modes:
|
||||
A 1-bit pixel has a range of 0-1, an 8-bit pixel or a 32-bit floating point
|
||||
pixel has a range of 0-255, and a 32-bit signed integer has a range of 0-65535.
|
||||
The current release supports the following standard modes:
|
||||
|
||||
* ``1`` (1-bit pixels, black and white, stored with one pixel per byte)
|
||||
* ``L`` (8-bit pixels, black and white)
|
||||
|
|
Loading…
Reference in New Issue
Block a user