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
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.
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