[SDL] Loading bitmaps with transparency?

Torsten Giebl wizard at syntheticsw.com
Sat Mar 3 17:40:05 PST 2007


Hello !


> I'm in a situation where I can't use SDL_image. What's the best way to
> load a transparent image?


A way would be to convert your images to
your own format and load that from disk.

For only a few and small images that
is okay.

If you need more and larger images you can also use
libPNG to your programm and use them directly in your
code, SDL_image is just a wrapper to make them easier to
use.


CU



More information about the SDL mailing list