[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] converting color key surfaces.




ShreadWheat came to the rescue on irc with:

image.convert_alpha( pygame.Surface((1,1), SRCALPHA,
32) )


 --- Rene Dudfield <illumen@yahoo.com> wrote: > Hi,
> 
> Does anyone know how to convert color keyed surfaces
> into 8,8,8,8 RGBA ones with per pixel alpha?
> 
> I'd also like to convert 8 bit images into the same.
> 
> Any help appreciated :)
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> ____________________________________
> pygame mailing list
> pygame-users@seul.org
> http://pygame.seul.org 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org