Lazy Foo' Productions

Extension Libraries and Loading Other Image Formats
SDL only supports .bmp files natively, but using the SDL_image extension library, you'll be able to load BMP, PNM, XPM, LBM, PCX, GIF, JPEG, TGA and PNG files. This lesson will teach you how to set up extension libraries.