Page 1 of 1

[linux] libpng warnings

Posted: Thu May 29, 2014 8:04 am
by cube
On linux, factorio complaints about problems with png color profile:

Code: Select all

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
This is only a cosmetic problem, and should not cause any complications.
A workaround appeared several times around the forum (I'm too lazy to find all of them so I will only link to the one I found),
but using it is not recommended because any modification like this will cause the updates to fail.

If you are wondering why a fix like this was not made on our side and pushed with one of the versions, it is because it would inflate the update
file to enormous size :-) We will probably find a more gradual way to convert the files sometime later.

https://forums.factorio.com/forum/vie ... 050#p27050
http://tex.stackexchange.com/a/125746

Re: [linux] libpng warnings

Posted: Thu May 29, 2014 12:39 pm
by MF-
https://forums.factorio.com/forum/vie ... php?t=3884 is also one of the threads that mention the fix.
(Nothing new, I just felt that it shouldn't be omitted)

Re: [linux] libpng warnings

Posted: Thu May 29, 2014 12:48 pm
by SilverWarior
Why not gradually fix this thorugh several version updates by fixing smal portions of files per each update. This will still inflate the update to larger size but it won't be so enormus.

Re: [linux] libpng warnings

Posted: Sat Aug 09, 2014 2:13 pm
by y.petremann
I've made some research and found interesting things :
  • When using convert or optipng + advpng, it could cause an image to be incorect for factorio (the steam-engine is a good example)
  • The developers can disable those warning.
  • If you need the terminal output and don't want to see those warning use:

    Code: Select all

    factorio 2> /dev/null
    instead of :

    Code: Select all

    factorio