look at the Python Imaging Library. With a PNG image, the alpha
channel determines the level of transparency for each pixel. You
should be able to build a mask by evaluating and image for a color and
then use the mask to create an alpha channel on the image.

On Jan 2, 6:10 pm, trung <[email protected]> wrote:
> Is it possible to remove the white background from a PNG image in
> order to make it look transparent?
>
> Has anyone been able to accomplish that?
>
> My guess is we would have to use the composite() function. Start out
> with a blank canvas and add the overlay image, then somehow tell it to
> ignore the white color.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to