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

Re: [pygame] Surfaces with Transparent Backgrounds



On Thu, Aug 20, 2009 at 10:15 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
You need to convert the surface "i" with .convert_alpha(), as well.

i = pygame.Surface((width, img.get_height())).convert_alpha()

...I still get a black background.

--
- pymike