Re: Creating watermark with transparency on jpeg using PIL?

2005-08-20 Thread Max Erickson
You need to pass a mask in when you paste in the watermark. see the documentation for the paste method at http://effbot.org/imagingbook/image.htm for more information This should at least get you started... import Image import ImageDraw import ImageFont import ImageEnhance

Creating watermark with transparency on jpeg using PIL?

2005-08-18 Thread tvmaly
I have been trying to add a watermark to a jpeg using PIL, but the watermark has a black box around it. I looked at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362879 and http://mail.python.org/pipermail/python-list/1999-May/003369.html but I think these only refer to gif or png.

Re: Creating watermark with transparency on jpeg using PIL?

2005-08-18 Thread Terry Hancock
On Thursday 18 August 2005 10:07 am, [EMAIL PROTECTED] wrote: I have been trying to add a watermark to a jpeg using PIL, but the watermark has a black box around it. I looked at [...] but I think these only refer to gif or png. I know jpegs really do not support transparency, but is there