Correct description of paste() behavior [ci skip]

This commit is contained in:
Allen Li 2015-04-10 23:23:26 -04:00
parent bb01e845ea
commit 7674694185

View File

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