Skip to content

Fix explicitly srgb-tagged PNGs#448

Merged
Tom94 merged 2 commits into
masterfrom
fix-srgb-png
May 27, 2026
Merged

Fix explicitly srgb-tagged PNGs#448
Tom94 merged 2 commits into
masterfrom
fix-srgb-png

Conversation

@Tom94
Copy link
Copy Markdown
Owner

@Tom94 Tom94 commented May 27, 2026

No description provided.

Tom94 added 2 commits May 27, 2026 07:43
While the spec recommends also writing gAMA and cHRM chunks as fallback
for incompatible decoders, it's technically wrong to describe an
sRGB-encoded image with a 2.2 gamma curve, so we refrain from writing
those chunks. https://www.w3.org/TR/png-3/#srgb-standard-colour-space
@Tom94 Tom94 merged commit bc2a3bf into master May 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant