SDL image

From GPWiki

SDL_image is an extension to SDL that provides functions to load images of formats other than bitmaps. It supports PNM, XPM, LBM, PCX, GIF, JPEG, PNG, and TGA, in addition to the BMP support provided natively by SDL. Like SDL, it is small, simple, portable, and availible under the GNU LGPL.

SDL_image Links