1 2 3
SDL_image is an image file loading library. It loads images as SDL surfaces, and supports the following formats: BMP, PNM, XPM, PCX, GIF, JPEG, PNG, and TGA.