mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 08:14:10 +03:00
Corrected docstring
This commit is contained in:
parent
364e31ddde
commit
5edeca28b6
|
@ -881,7 +881,7 @@ class Image(object):
|
||||||
"L", "RGB" and "CMYK." The **matrix** argument only supports "L"
|
"L", "RGB" and "CMYK." The **matrix** argument only supports "L"
|
||||||
and "RGB".
|
and "RGB".
|
||||||
|
|
||||||
When translating a color image to black and white (mode "L"),
|
When translating a color image to greyscale (mode "L"),
|
||||||
the library uses the ITU-R 601-2 luma transform::
|
the library uses the ITU-R 601-2 luma transform::
|
||||||
|
|
||||||
L = R * 299/1000 + G * 587/1000 + B * 114/1000
|
L = R * 299/1000 + G * 587/1000 + B * 114/1000
|
||||||
|
|
Loading…
Reference in New Issue
Block a user