[SDL] Loading .png using IMG_Load()

Ryan C. Gordon icculus at icculus.org
Wed Feb 14 21:07:12 PST 2007


> I tried to load a non-BMP file using SDL_image library using IMG_Load() 
> function which is supposed to work for .png image format. But to my 
> disappointment, it is unable to load the image, while it works fine with 
> .bmp extention.
> 
> Does anyone know the reason for this and can you suggest a remedy?

If the .png file isn't corrupt, it's probably that SDL_image was built 
without png support.

--ryan.



More information about the SDL mailing list