#12610 closed defect (fixed)
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
回報者: | Davidmh | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 4.3.6 |
關鍵字: | libpng, warning, qt, srgb profile | 副本: | |
Guest type: | all | Host type: | Linux |
描述
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.
更動歷史 (7)
comment:2 11 年 前 由 編輯
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 11 年 前 由 編輯
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 10 年 前 由 編輯
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198574 which contains a patch fixing this.
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.