[SDL] SDL_LoadBMP question
Paulo V W Radtke
pvwradtke at sympatico.ca
Mon Feb 28 19:59:20 PST 2005
> What format of BMP does the SDL_LoadBMP support? Basically, I'm curious if
> I generate a BMP written out in A8R8G8B8 format, can I load that BMP and
> have an alpha channel, without needing SDL_Image and loading it as a TGA
> instead?
...
> And then I call SDL_DisplayFormatAlpha, but the resulting image does not
> have per-pixel transparency. Is what I'm trying to do even possible?
I'm using PNG files with SDL Image and no problem loading the alpha
channel from them. The greatest point on using PNG files is that they
are *MUCH* smaller than BMPs, and the image quality is way better than
with JPEG files.
Besides, does BMP files actually (or officially, for that matter)
support alpha channel?
Best regards,
Paulo V W Radtke - Chien Loco Jogos de Garagem®
http://blog.chienloco.com
http://www.chienloco.com
More information about the SDL
mailing list