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

Re: [pygame] Transparent PNGs



Brian Fisher wrote:
This isn't really enough for other people to test what is failing for you...

Can you post the "Game Logo.png" that fails for you with this code?

Here's the image I'm testing it with.
http://kschnee.xepher.net/pics/Game%20Logo.png

The code again:

import pygame
import os
pygame.init()
s = pygame.display.set_mode((640,480))
i = pygame.image.load(os.path.join("graphics","Game Logo.png")).convert_alpha()
s.blit(i,(100,50))
pygame.display.update()

I get a logo with a white background, on black.