Open notpygame opened 3 years ago
I think my initial idea for adapting .convert_alpha()
was too unfocused and messing with the clarity of an existing function.
Instead I think I should mirror the PR for the Color class and just add a .premul_alpha()
method to Surface that begins by erroring out if the surface is not 32bit with an alpha channel.
BLEND_PREMULTIPLIED was implemented in this issue: https://github.com/pygame/pygame/issues/1289
To make it more usable for people, the following could be done: