Python variables are one word

This commit is contained in:
Andrew Murray 2021-12-04 07:41:18 +11:00
parent 675c5e1a9c
commit 85a27c145d

View File

@ -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
PILs internal layout. For a summary of the available formats, see the PILs internal layout. For a summary of the available formats, see the
table below. table below.