[gameprogrammer] Embedding images with alpha channels into a program

Hi,

I'm writing a GUI library on top of SDL. Now I want shadows for dialogs. 
I could use .png files, but I want to compile the images into the 
program. I used .xpm for all other images, but this time I need an alpha 
channel, because the shadow is a black to transparent gradient. AFAIK 
.xpm doesn't have an alpha channel. Is there a way to compile .png files 
into the program? Or is there any other format that I can use for that 
purpose, that has an alpha channel?

Thanks,
Bernhard


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: