mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 01:34:24 +03:00
Merge pull request #1698 from radarhere/alpha
Improved alpha_composite documentation
This commit is contained in:
commit
2988d89b33
|
@ -2302,8 +2302,8 @@ def alpha_composite(im1, im2):
|
||||||
"""
|
"""
|
||||||
Alpha composite im2 over im1.
|
Alpha composite im2 over im1.
|
||||||
|
|
||||||
:param im1: The first image.
|
:param im1: The first image. Must have mode RGBA.
|
||||||
:param im2: The second image. Must have the same mode and size as
|
:param im2: The second image. Must have mode RGBA, and the same size as
|
||||||
the first image.
|
the first image.
|
||||||
:returns: An :py:class:`~PIL.Image.Image` object.
|
:returns: An :py:class:`~PIL.Image.Image` object.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user