Re: PIL: Transparent PNGs and im.paste: ValueError: bad transparency mask

2008-07-11 Thread Ken Starks
Durand wrote: I posted this too soon. Converting the images to png with image magick's convert did the trick...However, I'm still not sure why I need to convert the images in the first place. Are there different types of PNGs? http://en.wikipedia.org/wiki/Portable_Network_Graphics#Transparency

Re: PIL: Transparent PNGs and im.paste: ValueError: bad transparency mask

2008-07-10 Thread Durand
I posted this too soon. Converting the images to png with image magick's convert did the trick...However, I'm still not sure why I need to convert the images in the first place. Are there different types of PNGs? -- http://mail.python.org/mailman/listinfo/python-list

PIL: Transparent PNGs and im.paste: ValueError: bad transparency mask

2008-07-10 Thread Durand
Hi! I'm trying to paste a png with a transparent layer into an image using "image.paste(tesla,(20,10), tesla)" but I'm getting this error: ValueError: bad transparency mask I have used im.paste(image,box,image) sucessfully before to paste an image with transparency, however, it doesn't seem to