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

Re: [pygame] Per Pixel Alpha



Lenard Lindstrom wrote:
It is a commonly held misconception that any surface created with a SRCALPHA automatically has 32 bit pixels. This is wrong.

If it's not possible to provide alpha with the pixel size
being used, wouldn't it be better to raise an exception
instead of silently returning a surface that isn't what
you asked for?

--
Greg