[webkit-dev] Color Management
ap at webkit.org
Wed Sep 1 08:49:11 PDT 2010
01.09.2010, в 08:31, Igor Trindade Oliveira написал(а):
> a) use an external dependency(littlecms for example);
> b) write from scratch all the ICC Profile specification;
> What do you guys think what the best approach?
I think that the first question to answer is why a CMS implementation is needed in WebKit at all. It's normally the job of a drawing library to perform the conversion behind the scenes.
For example, one can specify a color space when drawing with CoreGraphics (as used by Mac and Windows Safari). If some platforms don't have such support, deciding what to do with colors should be left to platform-specific code in WebKit anyway.
This is what already happens with images that have color profiles embedded, for example.
- WBR, Alexey Proskuryakov
More information about the webkit-dev