[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Per Pixel Alpha



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?