#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 (7)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
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 by , 10 years ago
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 by , 10 years ago
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198574 which contains a patch fixing this.
comment:7 by , 8 years ago
This is not fixed, I still see this problem with libpng-1.6.23 and Virtualbox 5.0.26
In /usr/share/icons I ran this;
find . -type f -name "*.png" -exec convert {} -strip {} \;
But this still did not help.
So where is this problem PNG located at?
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.