LibGfx/PNG: Read the cICP chunk

This commit is contained in:
Lucas CHOLLET 2025-02-08 00:13:12 -05:00 committed by Tim Flynn
commit a144481e6c
Notes: github-actions[bot] 2025-02-12 17:26:09 +00:00
10 changed files with 94 additions and 6 deletions

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>PNG Third Edition: animated PNG</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<body>
<p>Test passes if you see a lime green rectangle, and no red.</p>
<div class="test"><img src="support/lime.png" alt=""></div>
</body>

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>PNG Third Edition: Coding Independent Code Points</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<style>
.test {
width: 128px;
height: 64px;
background-color: green;
}
</style>
<body>
<p>Test passes if you see a green rectangle, and no red.</p>
<div class="test"><img src="support/srgb_green.png" alt=""></div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B