mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Merge pull request #5223 from Bitblade/master
Documentation error: Wrong threshold in conversion from L to 1
This commit is contained in:
commit
428a62c696
|
@ -878,7 +878,7 @@ class Image:
|
|||
The default method of converting a greyscale ("L") or "RGB"
|
||||
image into a bilevel (mode "1") image uses Floyd-Steinberg
|
||||
dither to approximate the original image luminosity levels. If
|
||||
dither is :data:`NONE`, all values larger than 128 are set to 255 (white),
|
||||
dither is :data:`NONE`, all values larger than 127 are set to 255 (white),
|
||||
all other values to 0 (black). To use other thresholds, use the
|
||||
:py:meth:`~PIL.Image.Image.point` method.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user