PDA

View Full Version : PIL Alpha



Jeff Wheeler
March 10th, 2007, 02:56 PM
I'm trying to write some graphics for a site, but I can't figure out how to use the Python Image Library with PNG alpha support.

In the Image (http://www.pythonware.com/library/pil/handbook/image.htm) module, there is support for `putalpha`, but it only supports 100% transparency. I'm looking to generate a fading gradient, so I'm wanting something more powerful. :-/

Any way to do this?