Merge pull request #3511 from radarhere/convert

Corrected docstring
This commit is contained in:
Hugo 2018-12-27 23:01:04 +02:00 committed by GitHub
commit 5d9a3273d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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