Not sure if this is the best way, but surface.set_at takes an rgba color, so you could read the pixel with get_at, change the alpha, and then call set_at.

--Mike

Ian Mallett wrote:
How do I set the alpha value for a single pixel?

Reply via email to