Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: JPEG error in Windows 64 bits  (Read 3054 times)

0 Members and 1 Guest are viewing this topic.

Edimartin

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
JPEG error in Windows 64 bits
« 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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
AW: Re: JPEG error in Windows 64 bits
« Reply #1 on: February 24, 2015, 04:44:01 pm »
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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: JPEG error in Windows 64 bits
« Reply #2 on: February 24, 2015, 04:47:07 pm »
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.
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: JPEG error in Windows 64 bits
« Reply #3 on: February 24, 2015, 05:13:51 pm »
It has not yet been updated, just moved. :D
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: JPEG error in Windows 64 bits
« Reply #4 on: February 24, 2015, 06:42:39 pm »
Ah ;D
Laurent Gomila - SFML developer

Edimartin

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: JPEG error in Windows 64 bits
« Reply #5 on: February 26, 2015, 08:02:45 pm »
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.