Here's the image and code: def load_alpha_image(name):fullname = os.path.join( 'Images', name) try:image = pygame.image.load(fullname).convert_alpha() except pygame.error, message: print 'Cannot load image:', fullname raise SystemExit, message return image Date: Wed, 10 Jun 2009 15:56:10 -0700 Subject: Re: [pygame] Alpha channels and per pixel alpha From: brian@xxxxxxxxxxxxxxxxxxx To: pygame-users@xxxxxxxx It would help to see your code and have an example image attached, cause loading .png's with alpha and blitting with transparency works fine for me without any trouble or special stuff. On Wed, Jun 10, 2009 at 2:11 PM, Bjorn Samuelsson <bjorn_sam@xxxxxxxxxxx> wrote:
Windows Live™: Keep your life in sync. Check it out! |
Attachment:
default_alpha2.png
Description: PNG image