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

Re: [pygame] Setting alpha with a blit?



Jasper Phillips wrote:
the surface had a different color than the source image it was constructed
from, with the RGB values all reduced by 1 (alpha stayed at 255)...

Presumably a bug?
No, just a mathematical rounding. SDL cheats some of the math during it's alpha blended blits. So you get some color dropout like you are seeing.