[Bug 198574] [patch] emulators/virtualbox-ose: get rid of "Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile" messages

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 29 10:15:40 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198574

Kurt Jaeger <pi at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pi at FreeBSD.org
           Assignee|vbox at FreeBSD.org            |pi at FreeBSD.org

--- Comment #1 from Kurt Jaeger <pi at FreeBSD.org> ---
Comment from Ralf Nolden (kde), so: testbuild at work

I have checked that with Virtualbox and witout the patch I get the messages:

Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile

due to wrong png files, which the patch fixes.

I applied the patch from the PR and rebuild virtualbox, then retried. The
errors are away now.

More info on the underlying issue is found here:

https://forum.qt.io/topic/58638/solved-libpng-warning-iccp-known-incorrect-srgb-profile-drive-me-nuts

http://www.libpng.org/pub/png/libpng-manual.txt

Error detection in some chunks has improved; in particular the iCCP chunk
reader now does pretty complete validation of the basic format.  Some bad
profiles that were previously accepted are now rejected, in particular the
very old broken Microsoft/HP sRGB profile.  The PNG spec requirement that
only grayscale profiles may appear in images with color type 0 or 4 and that
even if the image only contains gray pixels, only RGB profiles may appear
in images with color type 2, 3, or 6, is now enforced.  The sRGB chunk
is allowed to appear in images with any color type.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list