Qt.5.5, Windows, libpng warning: iCCP: known incorrect sRGB profile



  • On Qt5.5 on windows opening png file with QImage gives warning "libpng warning: iCCP: known incorrect sRGB profile"

    I founds bug in bugtracker https://bugreports.qt.io/browse/QTBUG-46229 with same problem, but this bug marked as solved in Qt 5.5.0 RC. But i use 5.5.1 and this bug reproduces.


  • Moderators

    The bug report is about images in Qt itself. If you have it while opening your own png files it means they have the same flaw. It's not a Qt's bug. It's a problem with these images.

    The problem is that a lot of popular software that creates png files uses that profile. The warning can be safely ignored but if you are annoyed by it you can fix your images by stripping the profile info from it (use Gimp, ImageMagick or any other software that handles color profiles).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.