mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
commit
5d9a3273d5
|
@ -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