W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

Re: [csswg-drafts] [css-color-4] Predefined CMYK colorspace (#3449)

From: Kari Pihkala via GitHub <sysbot+gh@w3.org>
Date: Thu, 15 Oct 2020 08:53:14 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-709003251-1602751992-sysbot+gh@w3.org>
[SVG Native](https://svgwg.org/specs/svg-native/) might support FOGRA39 in the future, but embedded SVG Native renderers may not want to use complex ICC color profiles for color conversion. A set of approximation functions or a simple look-up table might be preferred.

That is also the approach taken by Firefox and Chrome PDF viewers to convert CMYK to RGB. Many PDF documents use Adobe U.S. Web Coated (SWOP) v2 color profile for CMYK colors. But, web browser PDF viewers don't use Adobe's ICC profile to convert SWOP colors to sRGB.

Firefox pdf.js uses a set of math functions for conversion:

Chrome's PDFium uses a look-up table:

I don't know why they don't use the real ICC profile, but few advantages of these approaches is that they take less space and are faster than full ICC color profile conversion. Embedded SVG Native renderers may take the same approach for FOGRA39. Just something for you to consider while developing the smaller ICC profile..

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 October 2020 08:53:15 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC