mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +03:00
Correct description of paste() behavior [ci skip]
This commit is contained in:
parent
bb01e845ea
commit
7674694185
|
@ -1288,9 +1288,8 @@ class Image:
|
||||||
images (in the latter case, the alpha band is used as mask).
|
images (in the latter case, the alpha band is used as mask).
|
||||||
Where the mask is 255, the given image is copied as is. Where
|
Where the mask is 255, the given image is copied as is. Where
|
||||||
the mask is 0, the current value is preserved. Intermediate
|
the mask is 0, the current value is preserved. Intermediate
|
||||||
values will mix the two images together. If this image has an
|
values will mix the two images together, including their alpha
|
||||||
alpha channel, intermediate values will also set the alpha
|
channels if they have them.
|
||||||
channel to themselves.
|
|
||||||
|
|
||||||
See :py:meth:`~PIL.Image.Image.alpha_composite` if you want to
|
See :py:meth:`~PIL.Image.Image.alpha_composite` if you want to
|
||||||
combine images with a partial mask without setting the alpha
|
combine images with a partial mask without setting the alpha
|
||||||
|
|
Loading…
Reference in New Issue
Block a user