SFML community forums
Help => Graphics => Topic started by: INL on December 28, 2008, 06:09:20 am
-
Hello, does anyone know which image types SFML supports (specifically)? And if it differs, which for opening, and which for saving?
Thanks!
INL
-
Can load and save standard image formats : bmp, dds, jpg, png, tga, psd
-
Failed to load image "media/anim(256x256)90f.png". Reason : PNG not supported: 8-bit only
There seems to be some exceptions?
[/code]
-
Yes, 8 bits only PNGs are an exception ;)
-
Do sfml check for magicnumber or extension?
-
Image loading is done by the SOIL library (which uses stb_image), but I think it checks the file header, not the extension.