mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-05 13:43:28 +03:00
Python variables are one word
This commit is contained in:
parent
675c5e1a9c
commit
85a27c145d
|
@ -167,16 +167,16 @@ TIFF, and many others. To use the raw decoder with the
|
||||||
|
|
||||||
image = Image.frombytes(
|
image = Image.frombytes(
|
||||||
mode, size, data, "raw",
|
mode, size, data, "raw",
|
||||||
raw mode, stride, orientation
|
raw_mode, stride, orientation
|
||||||
)
|
)
|
||||||
|
|
||||||
When used in a tile descriptor, the parameter field should look like::
|
When used in a tile descriptor, the parameter field should look like::
|
||||||
|
|
||||||
(raw mode, stride, orientation)
|
(raw_mode, stride, orientation)
|
||||||
|
|
||||||
The fields are used as follows:
|
The fields are used as follows:
|
||||||
|
|
||||||
**raw mode**
|
**raw_mode**
|
||||||
The pixel layout used in the file, and is used to properly convert data to
|
The pixel layout used in the file, and is used to properly convert data to
|
||||||
PIL’s internal layout. For a summary of the available formats, see the
|
PIL’s internal layout. For a summary of the available formats, see the
|
||||||
table below.
|
table below.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user