Hi!

René Dudfield <ren...@gmail.com>:
>
> Maybe the RGBA_PREMULT of pygame.image.tostring could be used...

It works. Thanks, man! A visual example of the problem and your solution
is at http://pastebin.com/0JJQVYe8 .

Just curious, how bad is the performance penalty for this double
conversion step?

Would it be better to have a BLEND_ADD_PREMULT blit mode instead, i.e.
put the premultiplication in the blitting code?

Kind regards,

        Florian

Reply via email to