Weeble wrote:
Aha! I had better luck with the following:

    newsurf=pygame.Surface((128,128),flags=pygame.SRCALPHA)
    newsurf.blit(sourcesurf,(0,0))
    newsurf.blit(masksurf,(0,0),None,pygame.BLEND_RGBA_MIN)

(This time the mask surface was entirely white with the alpha channel
storing the intended mask value.)
Yes, you beat me to it. Ignore my post. I incorrectly suggested the mask have black pixels.

--
Lenard Lindstrom
<le...@telus.net>

Reply via email to