@@ -1779,15 +1779,89 @@ In a very similar way to the ''<@font-face.'' at-rule, the ''<@color-profile>''
17791779at-rule has a name (which will be used inside the stylesheet),
17801780and a descriptor to point to the actual
17811781data (<dfn for="@color-profile/src">src</dfn> , just like
1782- <dfn for="@font-face/src">src</dfn> in font-face.)
1783- <!-- not clear how I link to the two different descriptors therte, in bikeshed syntax -->
1782+ <dfn for="@font-face/src">src</dfn> in font-face.) The <dfn for="@color-profile/src">src</dfn>
1783+ descriptor takes a url() as it's value.'
17841784
17851785<!-- should we add a format field to this descriptor, like with font-face src? it is always ICC format
17861786in practice, but that could change in the future. or we could add format later, once there is
17871787a need, and make the default ICC if not specified -->
17881788
1789- In adition there is a third, optional descriptor to define the ''rendering intent'' to use.
1790- This is only needed if the profile linked to has data for multiple rendering intents.
1789+ A third, optional descriptor defines the ''rendering intent'' to use when mapping colors
1790+ from a larger to a smaller gamut.
1791+
1792+ This descriptor is only needed if the profile linked to has data for multiple rendering intents.
1793+ There are four values for rendering intent[[ICC]] :
1794+
1795+ <dl>
1796+ <dt id="intent-relative"> relative-colorimetric</dt>
1797+ <dd>
1798+ <p>
1799+ Media-relative colorimetric is required to leave source colors that fall
1800+ inside the destination medium gamut unchanged relative to the respective
1801+ media white points. Source colors that are out of the destination medium
1802+ gamut are mapped to colors on the gamut boundary using a variety of
1803+ different methods.
1804+ </p>
1805+ <p class="note"> Note: the media-relative colorimetric rendering intent is
1806+ often used with black point compensation, where the source medium black point
1807+ is mapped to the destination medium black point as well.</p>
1808+ <p> This method must map the source white point to the desination white point. If
1809+ black point compensation is in use, the source black point must also be
1810+ mapped to the destination black point. Adaptation algorithms should be used
1811+ to adjust for the change in white point. Relative relationships of colors
1812+ inside both source and destination gamuts should be preserved. Relative
1813+ relationships of colors outside the destination gamut may be changed. </p>
1814+ </dd>
1815+ <dt id="intent-absolute"> absolute-colorimetric</dt>
1816+ <dd>
1817+ <p> ICC-absolute colorimetric is required to leave source colors that fall
1818+ inside the destination medium gamut unchanged relative to the adopted
1819+ white (a perfect reflecting diffuser). Source colors that are out of the
1820+ destination medium gamut are mapped to colors on the gamut boundary using a
1821+ variety of different methods. This method produces the most accurate
1822+ color matching of in-gamut colors, but will result in highlight clipping
1823+ if the destination medium white point is lower than the source medium
1824+ white point. For this reason it is recommended for use only in applications
1825+ that need exact color matching and where highlight clipping is not a concern.</p>
1826+ <p> This method MUST disable white point matching and black point matching when
1827+ converting colors. In general, this option is not recommended except
1828+ for testing purposes. </p>
1829+ </dd>
1830+ <dt id="intent-perceptual"> perceptual</dt>
1831+ <dd>
1832+ <p> This method is often the preferred choice for images, especially when there are
1833+ substantial differences between the source and destination (such as a screen display
1834+ image reproduced on a reflection print). It takes the colors of the source image
1835+ and re-optimizes the appearance for the destination medium using proprietary
1836+ methods. This re-optimization may result in colors within both the source
1837+ and destination gamuts being changed, although perceptual transforms are
1838+ supposed to maintain the basic artistic intent of the original in the
1839+ reproduction. They will not attempt to correct errors in the source image.</p>
1840+ <p class="note"> With v2 ICC profiles there is no specified perceptual reference medium,
1841+ which can cause interoperability problems. When v2 ICC profiles are used it may
1842+ be safer to use the media-relative colorimetric rendering intent with black
1843+ point compensation, instead of the perceptual rendering intent, unless the
1844+ specific source and destination profiles to be used have been checked to ensure
1845+ the combination produces the desired result. </p>
1846+ <p> This method should maintain relative color values among the pixels as they
1847+ are mapped to the target device gamut. This method may change pixel values
1848+ that were originally within the target device gamut, in order to avoid
1849+ hue shifts and discontinuities and to preserve as much as possible the
1850+ overall appearance of the scene.</p> </dd>
1851+ <dt id="intent-saturation"> saturation</dt>
1852+ <dd>
1853+ <p> This option was created to preserve the relative saturation (chroma) of the original,
1854+ and to keep solid colors pure. However, it experienced interoperability problems like
1855+ the perceptual intent, and as solid color preservation is not amenable to a reference
1856+ medium solution using v4 profiles does not solve the problem. Use of this rendering intent
1857+ is not recommended unless the specific source and destination profiles to be used have
1858+ been checked to ensure the combination produces the desired result.
1859+ This option should preserve the relative saturation (chroma) values of the original
1860+ pixels. Out of gamut colors should be converted to colors that have the same saturation
1861+ but fall just inside the gamut.</p> </dd>
1862+ </dl>
1863+
1864+
17911865
17921866<pre class="prod">
17931867 <dfn at-rule >FIX ME: MISSING</dfn>
0 commit comments