Does SDL support PCX, JPG, PNG, etc...

The BMP and WAV file loaders included with SDL are simple examples demonstrating how to load an image and sound format. You should be able to write your own reader for any format. The main library is supposed to be fast and small, and so does not include any additional loaders. A sample image loader library called SDL_image is available from the SDL libraries page which supports loading BMP, PCX, GIF, JPG, PNG and TGA images to SDL surfaces.

FAQ_Image (last edited 2008-04-17 08:18:29 by localhost)