Re: [csswg-drafts] [css-color-4] Security: handling of color-profiles (#5552)

> How different is an ICC file from the ICC chunk in images?

That was my point in [comment](https://github.com/w3c/csswg-drafts/issues/5552#issuecomment-700667795) - identical, just transferred as a separate resource rather than included inside a raster image.

For example [definition of the **iCCP Embedded ICC profile** chunk in PNG](https://w3c.github.io/PNG-spec/#11iCCP):

<html><body>
<!--StartFragment-->

Profile name | 1-79 bytes (character string)
-- | --
Null separator | 1 byte (null character)
Compression method | 1 byte
Compressed profile | n bytes

<!--EndFragment-->
</body>
</html>

>  I haven't checked other browsers, but Firefox parses ICC in JPEG, PNG, BMP, WebP, AVIF so I imagine most browsers do. That parser is effectively exposed to the web already.

Correct.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5552#issuecomment-940930809 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 12 October 2021 11:43:02 UTC