[PYTHON IMAGE-SIG] Transparent GIF images & Tk

Fredrik Lundh fredrik_lundh@ivab.se
Tue, 31 Dec 1996 11:07:21 +0100

> I can get the RGB for the desired background, so I think I should be
> able to create an image of the background color using Image.new(), and
> a alpha channel (not sure the best way to create this yet), and
> combine them using Image.composite(bgimg, img, alpha).

I've fixed transparency handling for GIFs, XPMs and PNGs in 0.2b4.
The viewer.py sample script also contains sample code that pastes
transparent "P" (GIF, XPM, PNG/P) and "RGBA" (PNG) images onto a given

0.2b4 will be released within a week.

Cheers	/F

IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org