Re: [Tutor] Pasting an image with transparency

2017-06-02 Thread Terry
On 06/02/2017 08:31 AM, Peter Otten wrote: Terry wrote: We read the docstring so you don't have to ;) I have to remember to utilize available help functions... my bad. from PIL import Image image = Image.open("sample.jpg") # some random pic I have lying around help(image.paste) Help on m

Re: [Tutor] Pasting an image with transparency

2017-06-02 Thread Peter Otten
Terry wrote: > Slackware 14.2 64-bit > Python 2.7.13 > > I am trying to automate some photo processing by pasting a > sig or watermark. The sig image is a .png with transparency > but when it pastes it does so with a black background. Is there > a way to paste with transparency? > > > > from P

Re: [Tutor] Pasting an image with transparency

2017-06-02 Thread Alan Gauld via Tutor
On 01/06/17 20:34, Terry wrote: > Slackware 14.2 64-bit > Python 2.7.13 > > I am trying to automate some photo processing by pasting a > sig or watermark. The sig image is a .png with transparency > but when it pastes it does so with a black background. Is there > a way to paste with transparency?