try this:
image = pygame.image.load("image.png").convert_alpha()
screen.blit(image, (0,0))
See if it is alpha or not... :)
On Wed, Jun 10, 2009 at 6:03 PM, Bjorn Samuelsson <[email protected]>wrote:
> Ok.
> Could you possibly give me some short instructions on how to make a
> simple image with alpha channel so maybe I can see what I'm doing wrong.
> This is how i do it: take a regular image in photoshop, add an alpha
> channel, save as a SuperPNG with the "alpha channels" box checked.
> I'm not really sure how to check if I have a "working" alpha channel or
> not. But when i reopen the image in photoshop the alpha channel is still
> there. I also tried a small application that gives out information about a
> given png-file and it said that the image is 32-bit RGB+alpha,
> non-interlaced.
>
> ------------------------------
> From: [email protected]
> Date: Wed, 10 Jun 2009 14:48:58 -0700
> Subject: Re: [pygame] Alpha channels and per pixel alpha
> To: [email protected]
>
> The way to do it is with .convert_alpha()
> Check that your images really do have an alpha channel.
>
> ------------------------------
> check out the rest of the Windows Live™. More than mail–Windows Live™ goes
> way beyond your inbox. More than
> messages<http://www.microsoft.com/windows/windowslive/>
>