From 3a55a20712def145a102e7498e2518884f3942d5 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 1 Feb 2016 21:02:43 +1100 Subject: [PATCH] Improved alpha_composite documentation --- PIL/Image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PIL/Image.py b/PIL/Image.py index 31d25421c..177f804f7 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -2302,8 +2302,8 @@ def alpha_composite(im1, im2): """ Alpha composite im2 over im1. - :param im1: The first image. - :param im2: The second image. Must have the same mode and size as + :param im1: The first image. Must have mode RGBA. + :param im2: The second image. Must have mode RGBA, and the same size as the first image. :returns: An :py:class:`~PIL.Image.Image` object. """