Ticket #12610 (closed defect: fixed)
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Reported by: | Davidmh | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.3.6 |
Keywords: | libpng, warning, qt, srgb profile | Cc: | |
Guest type: | all | Host type: | Linux |
Description
When starting VirtualBox 4.3.6 on a Fedora 20, there are a lot of warnings complaining about invalid pngs like this:
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
A list of the culprits can be generated with:
# find / -type f -name "*.png" 2>/dev/null | grep -i virtualbox | identify @- 1>/dev/null
On my box, there are 82.
This happens with the new, more strict, libpng 1.6.3, and the fix only requires recompile the corrupt pngs.
Change History
comment:2 Changed 9 years ago by ...don
Same problem with SuSE 12.3. I also ran convert against all .png files that reported errors with identify, but VirtualBox still generates the libpng waning at startup. I recompiled the VirtualBox modules after repairing the .png files.
comment:3 Changed 9 years ago by efferre
same problem here with 4.3.8, the fix should be quite easy, I report here a webpage as example to fix the images;
comment:5 Changed 8 years ago by wonko1953
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198574 which contains a patch fixing this.
comment:6 Changed 7 years ago by frank
- Status changed from new to closed
- Resolution set to fixed
Should be fixed since VBox 5.0.
I have run convert {png} -strip {png} on all the files (sitting in /usr/share/icons/hicolor...) and now identify reports clean, but the warnings persist. I guess the profile has to be specified.