@@ -285,10 +285,6 @@ <h2 class="no-num no-toc" id=contents>Table of Contents</h2>
285285 < li > < a href ="#foreground "> < span class =secno > 3.1. </ span > Foreground
286286 color: the < span class =property > ‘< code
287287 class =property > color</ code > ’</ span > property</ a >
288- < ul class =toc >
289- < li > < a href ="#gamma "> < span class =secno > 3.1.1. </ span > Gamma
290- correction</ a >
291- </ ul >
292288
293289 < li > < a href ="#transparency "> < span class =secno > 3.2. </ span > Transparency:
294290 the < span class =property > ‘< code
@@ -527,58 +523,6 @@ <h3 id=foreground><span class=secno>3.1. </span>Foreground color: the <span
527523 section.
528524 </ dl >
529525
530- < h4 id =gamma > < span class =secno > 3.1.1. </ span > Gamma correction</ h4 >
531-
532- < p > < em > For information about gamma issues, please consult the Gamma
533- Tutorial in the PNG specification (< a href ="#PNG2e "
534- rel =biblioentry > [PNG2e]<!--{{!PNG2e}}--> </ a > ).</ em >
535-
536- < p > In the computation of gamma correction, UAs displaying on a < abbr
537- title ="cathode ray tube "> CRT</ abbr > may assume an ideal CRT and ignore any
538- effects on apparent gamma caused by dithering. That means the minimal
539- handling they need to do on current platforms is:
540-
541- < dl >
542- < dt > PC using MS-Windows
543-
544- < dd > none
545-
546- < dt > Unix using X11
547-
548- < dd > none
549-
550- < dt > Mac using QuickDraw
551-
552- < dd > apply gamma 1.45 < a href ="#ICC42 "
553- rel =biblioentry > [ICC42]<!--{{!ICC42}}--> </ a > (ColorSync-savvy
554- applications may simply pass the sRGB ICC profile to ColorSync to perform
555- correct color correction)
556-
557- < dt > SGI using X
558-
559- < dd > apply the gamma value from < tt > /etc/config/system.glGammaVal</ tt >
560- (the default value being 1.70; applications running on Irix 6.2 or above
561- may simply pass the sRGB ICC profile to the color management system)
562- </ dl >
563-
564- < p > "Applying gamma" means that each of the three R, G and B must be
565- converted to R'=R< sup > gamma</ sup > , G'=G< sup > gamma</ sup > ,
566- B'=B< sup > gamma</ sup > , before being handed to the OS.
567-
568- < p > This may rapidly be done by building a 256-element lookup table once per
569- browser invocation thus:
570-
571- < pre >
572- for i := 0 to 255 do
573- raw := i / 255.0;
574- corr := pow (raw, gamma);
575- table[i] := trunc (0.5 + corr * 255.0)
576- end
577- </ pre >
578-
579- < p > which then avoids any need to do transcendental math per color value,
580- far less per pixel.
581-
582526 < h3 id =transparency > < span class =secno > 3.2. </ span > Transparency: the < span
583527 class =property > ‘< code class =property > < a
584528 href ="#opacity "> opacity</ a > </ code > ’</ span > property</ h3 >
@@ -4928,27 +4872,6 @@ <h3 id=normative><span class=secno>11.1. </span>Normative</h3>
49284872 </ dd >
49294873 <!---->
49304874
4931- < dt id =ICC42 > [ICC42]
4932-
4933- < dd > < a href ="http://color.org/ICC1v42_2006-05.pdf "> < cite > Image technology
4934- colour management — Architecture, profile format, and data
4935- structure.</ cite > </ a > International Color Consortium. Specification
4936- ICC.1:2004-10 (Profile version 4.2.0.0) With errata incorporated,
4937- 5/22/2006. URL: < a
4938- href ="http://color.org/ICC1v42_2006-05.pdf "> http://color.org/ICC1v42_2006-05.pdf</ a >
4939- </ dd >
4940- <!---->
4941-
4942- < dt id =PNG2e > [PNG2e]
4943-
4944- < dd > David Duce. < a
4945- href ="http://www.w3.org/TR/2003/REC-PNG-20031110 "> < cite > Portable Network
4946- Graphics (PNG) Specification (Second Edition).</ cite > </ a > 10 November
4947- 2003. W3C Recommendation. URL: < a
4948- href ="http://www.w3.org/TR/2003/REC-PNG-20031110 "> http://www.w3.org/TR/2003/REC-PNG-20031110</ a >
4949- </ dd >
4950- <!---->
4951-
49524875 < dt id =SRGB > [SRGB]
49534876
49544877 < dd > < a href ="http://www.iec.ch/nr1899.htm "> < cite > Multimedia systems and
0 commit comments