You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: #1289
To make it more usable for people, the following could be done:
The text was updated successfully, but these errors were encountered: