From e8107e3bbbd48f5713f6c2de2539718e243fe7c2 Mon Sep 17 00:00:00 2001 From: Allen Li Date: Fri, 10 Apr 2015 23:25:15 -0400 Subject: [PATCH] Remove wrong docstring about RGBA paste [ci skip] Pasting RGBA images does preserve the alpha channel if the current image has an alpha channel. --- PIL/Image.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/PIL/Image.py b/PIL/Image.py index be27bd99b..36ff2eebf 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -1294,10 +1294,6 @@ class Image: See :py:meth:`~PIL.Image.Image.alpha_composite` if you want to combine images with respect to their alpha channels. - Note that if you paste an "RGBA" image, the alpha band is - ignored. You can work around this by using the same image as - both source image and mask. - :param im: Source image or pixel value (integer or tuple). :param box: An optional 4-tuple giving the region to paste into. If a 2-tuple is used instead, it's treated as the upper left