Here's an SDL loader for imagefile. If you are familiar with SDL_image's syntax, you shouldn't have any problems.
SDL_Surface *IF_Load(char *name); Returns an SDL surface made from an imagefile on the hard drive. SDL_Surface *IF_Load_RW(SDL_RWops *ctx); Returns an SDL_Surface made from an imagefile in an SDL_RWops structure. Loading bzip2 images is explained in the README. Good luck! Charlie Murphy
libSDL_if-0.1.tar.bz2
Description: Binary data