mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 19:36:38 +03:00
commit
d7bf918fb4
|
@ -24,8 +24,10 @@ To get the number and names of bands in an image, use the
|
||||||
Modes
|
Modes
|
||||||
-----
|
-----
|
||||||
|
|
||||||
The ``mode`` of an image defines the type and depth of a pixel in the
|
The ``mode`` of an image defines the type and depth of a pixel in the image.
|
||||||
image. The current release supports the following standard modes:
|
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:
|
||||||
|
|
||||||
* ``1`` (1-bit pixels, black and white, stored with one pixel per byte)
|
* ``1`` (1-bit pixels, black and white, stored with one pixel per byte)
|
||||||
* ``L`` (8-bit pixels, black and white)
|
* ``L`` (8-bit pixels, black and white)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user