Why not try using .tga files? Those have an alpha channel in them. From: Bernhard Bliem <bernhard.bliem@xxxxxxxxx> Reply-To: gameprogrammer@xxxxxxxxxxxxx To: gameprogrammer@xxxxxxxxxxxxx Subject: [gameprogrammer] Embedding images with alpha channels into a program Date: Sun, 16 May 2004 18:35:34 +0200 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 _________________________________________________________________ MSN Premium with Virus Guard and Firewall* from McAfee® Security : 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html