Author Topic: libpng warning: iCCP: known incorrect sRGB profile  (Read 2250 times)

wizard_wizzle (aka ZeldaHistorian)

  • Sr. Member
  • ****
  • Posts: 263
    • View Profile
libpng warning: iCCP: known incorrect sRGB profile
« on: March 12, 2016, 03:44:15 pm »
I get multiple "libpng warning: iCCP: known incorrect sRGB profile" errors when displaying a menu. I'm guessing this is related to my pause_submenus.png file, but the error does not specify. I also haven't been able to manipulate the image to eliminate the error - I use gimp, and have searched the internet for solutions to no avail. Anyone have any insight into this?

In a future version, can the engine at least specify the file that's throwing the error?

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1185
    • View Profile
Re: libpng warning: iCCP: known incorrect sRGB profile
« Reply #1 on: March 12, 2016, 04:30:43 pm »
The warning is printed by libpng, the engine has no knowledge of it. I already saw it too, and re-saving the problematic files solved the problem.

wizard_wizzle (aka ZeldaHistorian)

  • Sr. Member
  • ****
  • Posts: 263
    • View Profile
Re: libpng warning: iCCP: known incorrect sRGB profile
« Reply #2 on: March 12, 2016, 05:17:34 pm »
Resaving as what? I've tried resaving with a different color profile, changing between indexed and RGB, copying the contents to a new file and saving - none of it worked. This is a new game, so I'm pretty sure I know which file it is, but I've also gotten the error during the Book of Mudora intro, and I'm not sure which file is responsible.

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1185
    • View Profile
Re: libpng warning: iCCP: known incorrect sRGB profile
« Reply #3 on: March 12, 2016, 05:42:48 pm »
The hardest part is to find the image that has the problem. Maybe there are several ones?

MetalZelda

  • Hero Member
  • *****
  • Posts: 551
    • View Profile
Re: libpng warning: iCCP: known incorrect sRGB profile
« Reply #4 on: March 12, 2016, 10:17:13 pm »
I have this message on the Title Screen scene, but it's not really a thing that make the game crash so I generally skip this

I had this warning in-game before reworking on the pause menu.
« Last Edit: March 12, 2016, 10:33:14 pm by MetalZelda »