[SDL] Loading .png using IMG_Load()
Chiranjoy Chowdhuri
chiranjoys at gmail.com
Thu Feb 15 06:16:03 PST 2007
I installed the rpm from http://libsdl.org/projects/SDL_image all over again
and ran the demo code to check the support for different file formats...
Here is the output:
BMP is supported
GIF is supported
JPG is supported
LBM is supported
PCX is supported
IMG_Load: Unsupported image format
PNG is not supported, or the image data is corrupted
PNM is supported
TGA is supported
IMG_Load: Unsupported image format
TIF is not supported, or the image data is corrupted
XCF is supported
XPM is supported
There seems to be a problem with .png and .tif image format somehow. The
reason I am so concerned about .png especially is because since I am a
newbie, the tutorial I am following has all the image examples in .png
format. Can you suggest an alternative way?
--
Chiranjoy
"The task ahead of us is never as great as the power behind us"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070215/99fb3392/attachment.htm
More information about the SDL
mailing list