GoogleChromeLabs / GoogleChromeLabs/squoosh

Support better color management (RGB profile etc)

Open
#348 1 comment 4 reactions 0 assignees View on GitHub
feature request
Dominant language
TypeScript
Stars
25.9k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

Splitting from issue #270

-------

[may belong to codecs’s repos, but Sqoosh could surface some control] Colour management behaviour is inconsistent. At times broken/dangerous. For PNGs, all input is converted to sRGB , but the sRGB chunk is not set (questionable, although browsers got better at assuming sRGB). For JPGs, RGB profiles are converted, while CMYK ones are a problem, again output is, at times, in sRGB, but there is not profile embedded.

Contributor guide

Open the contributing guide

Research direction

The issue is split from #270; start by reading that issue and checking whether the relevant color-management behavior belongs in Squoosh or a codec repository. Compare the reported PNG and JPEG cases, including RGB/CMYK profiles and embedded sRGB metadata. Done requires an agreed, tested behavior, but this issue does not define the expected output.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.