[Webkit-unassigned] [Bug 67880] Some expected PNG files have color profiles, some do not, possibly causing pixel test failures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 12 16:34:35 PDT 2011


--- Comment #9 from Tony Chang <tony at chromium.org>  2011-09-12 16:34:35 PST ---
(In reply to comment #8)
> It seems that Lion includes a color profile in the PNG file because we create the bitmap context with CGColorSpaceCreateDeviceRGB(). There doesn't seem to be an easy way to remove this profile.

The PNG file format isn't that complicated.  If we can remove the whole iCCP section of the file, this shouldn't be too hard to do right before we write the file to disk.

Alternately, tools like pngcrush can remove the iCCP section of the file.  We could possible hook this into new-run-webkit-tests.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list