PNG `iCCP` test results

These tests check that tagged PNG files (containing an ICC profile in the `iCCP` chunk) are displayed by applying the ICC profile to the image RGB data (as required by the CSS Color 4 specification) and not by just throwing the image data at the screen.

They also test that untagged images are displayed as sRGB, (as required by the CSS Color 4 specification) and that both ICC v.2 and v.4 profiles are supported, as required by the PNG specification.





Test Chrome 102
102.0.4999.0
Windows 10
Edge 100
100.0.1185.39
Windows 10
Firefox 100
100.0a1
Windows 10
Safari 143 Preview
(Safari 15.4, WebKit 17614.1.7.7)
OS X 12.2.1

Initial, sanity-check tests

`sRGB` chunk, relative colorimetric intent pass pass pass pass
untagged image, must be treated as sRGB pass pass pass pass

Embedded ICC.1 v2 profiles

sRGB with red and green colorants swapped pass pass pass pass
CIE RGB, L* TRC pass pass pass pass
ProPhoto RGB, gamma 1.8 pass pass pass pass

Embedded ICC.1 v4 profiles

CIE RGB, L* TRC pass pass pass pass
ProPhoto RGB, gamma 1.8 pass pass pass pass
Display P3 pass pass pass pass

Embedded ICC.2 (iccMAX) profiles

(no tests yet)

About these tests (on GitHub)


Chris Lilley
12 May 2022