PIL

Denis S. Otkidach ods at strana.ru
Thu Mar 31 04:41:23 EST 2005


On Wed, 30 Mar 2005 08:33:44 -0800 (PST) suresh mathi wrote:

SM> All 3 images that i try to paste are having a
SM> transparent background.
SM> When i try to open the image and paste the background
SM> becomes black. I masked the black areas but still the
SM> shape is not that clear.

I had similar problems and solved them using some tricks with
image.info['transparency'] and image.palette.  Unfortunately I can't
find this example, so if you succeed please post solution here.

-- 
Denis S. Otkidach
http://www.python.ru/      [ru]



More information about the Python-list mailing list