SFML community forums
Help => Graphics => Topic started by: Edimartin on February 24, 2015, 04:33:28 pm
-
Hi. I am making a Game Engine for my Conclusion Work in College. To be multi-plataform I chose SFML to make Linux and Windows versions of the same game.
I create a simple plataform project to show the Game Engine features. I am using both JPEG and PNG files to create the game design.
In Linux 64 bits the game runs OK. In Windows I use the MinGW 32 and 64 for Windows 32 and 64 versions and I have this problem.
SFML return this error message in Windows 64 version:
Failed to load image from memory. Reason : JPEG format not supported (progressive)
Why?
-
Not sure why it loads on Linux - are you using the same exact image? - but for the failing the reason is right there:
Failed to load image from memory. Reason : JPEG format not supported (progressive)
If you still don't get it: SFML doesn't support progressive JPEGs.
-
Progressive JPEG are supported in stb_image 2.0, which was updated in SFML very recently. So maybe he uses a very recent revision on Linux and not on Windows.
-
It has not yet (https://github.com/SFML/SFML/pull/777) been updated, just moved. :D
-
Ah ;D
-
Thanks. I will try with the last SFML source code in Windows.
I am using Windows only to compile the last versions. I am developing the project in Linux 64.