[PYTHON IMAGE-SIG] Transparent GIF images & Tk
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.
IMAGE-SIG - SIG on Image Processing with Python
send messages to: email@example.com
administrivia to: firstname.lastname@example.org