Solarus-Games English Forum

Solarus => Bugs & Feature requests => Topic started by: wizard_wizzle (aka ZeldaHistorian) on March 12, 2016, 03:44:15 PM

Title: libpng warning: iCCP: known incorrect sRGB profile
Post by: wizard_wizzle (aka ZeldaHistorian) 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?
Title: Re: libpng warning: iCCP: known incorrect sRGB profile
Post by: Christopho 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.
Title: Re: libpng warning: iCCP: known incorrect sRGB profile
Post by: wizard_wizzle (aka ZeldaHistorian) 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.
Title: Re: libpng warning: iCCP: known incorrect sRGB profile
Post by: Christopho 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?
Title: Re: libpng warning: iCCP: known incorrect sRGB profile
Post by: MetalZelda 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.