Skip to content

Commit

Permalink
[css-color-5] More fixes, #7691
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Sep 6, 2022
1 parent c58834f commit 7e57391
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 8 deletions.
23 changes: 21 additions & 2 deletions css-color-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ or any other color or monochrome output device which has been characterized.
<figure id="fig-fogra51-roundtrip">
<!-- See file Macbeth.txt in the workings directory for details. -->
<object data="images/macbeth-roundtrip.svg" width="720" height="500">
<p>A grid of colored squares. There are six colums,
<p>A grid of colored squares. There are six columns,
labelled A to F,
and four rows,
labelled 1 to 4.
Expand Down Expand Up @@ -2144,7 +2144,13 @@ or any other color or monochrome output device which has been characterized.
the colorimetry of the RGB space, and so on.

<figure id="fig-naive-cmyk">
<img src="images/macbeth-naive.svg" width=670 height=450>
<object data="images/macbeth-naive.svg" width=670 height=450>
<p>A grid of colored squares. There are six columns,
labelled A to F,
and four rows,
labelled 1 to 4.
</p>
</object>
<figcaption>
<p>A color checker, used for ensuring color fidelity
in the print and photographic industries.
Expand All @@ -2155,6 +2161,16 @@ or any other color or monochrome output device which has been characterized.
<p>The table below shows, for each patch, the DeltaE 2000 between the original Lab and the Lab value after round-tripping through CMYK. A DeltaE 2000 of 1 or more is just visible, while 5 or more is just a different color altogether.</p>
<table class="deltaE">
<tr>
<th></th>
<th>A</th>
<th>B</th>
<th>C</th>
<th>D</th>
<th>E</th>
<th>F</th>
</tr>
<tr>
<th>1</th>
<td class="dE5">11.33</td>
<td class="dE5">9.36</td>
<td class="dE5">5.66</td>
Expand All @@ -2163,6 +2179,7 @@ or any other color or monochrome output device which has been characterized.
<td class="dE5">21.58</td>
</tr>
<tr>
<th>2</th>
<td class="dE5">6.40</td>
<td class="dE5">8.79</td>
<td class="dE5">11.77</td>
Expand All @@ -2171,6 +2188,7 @@ or any other color or monochrome output device which has been characterized.
<td class="dE3">3.97</td>
</tr>
<tr>
<th>3</th>
<td class="dE5">12.1</td>
<td class="dE5">17.00</td>
<td class="dE3">3.38</td>
Expand All @@ -2179,6 +2197,7 @@ or any other color or monochrome output device which has been characterized.
<td class="dE5">14.97</td>
</tr>
<tr>
<th>4</th>
<td class="dE1">1.89</td>
<td class="dE5">6.56</td>
<td class="dE5">7.85</td>
Expand Down
21 changes: 20 additions & 1 deletion css-color-5/PDFium.html
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,13 @@
<h1>PDFium CMYK to sRGB</h1>

<figure>
<img src="images/macbeth-pdfium.svg" style="width: 60vmin">
<object data="images/macbeth-pdfium.svg" style="width: 60vmin">
<p>A grid of colored squares. There are six columns,
labelled A to F,
and four rows,
labelled 1 to 4.
</p>
</object>
<figcaption>
<p>A color checker, used for ensuring color fidelity
in the print and photographic industries.
Expand All @@ -349,7 +355,17 @@ <h1>PDFium CMYK to sRGB</h1>
with the look-up table approach of PDFium.</p>
<p>The table below shows, for each patch, the DeltaE 2000 between the original Lab and the Lab value after round-tripping through CMYK. A DeltaE 2000 of 1 or more is just visible, while 5 or more is just a different color altogether.</p>
<table class="deltaE">
<tr>
<th></th>
<th>A</th>
<th>B</th>
<th>C</th>
<th>D</th>
<th>E</th>
<th>F</th>
</tr>
<tr>
<th>1</th>
<td class="dE4">4.61</td>
<td class="dE3">3.42</td>
<td class="dE3">3.76</td>
Expand All @@ -358,6 +374,7 @@ <h1>PDFium CMYK to sRGB</h1>
<td class="dE1">1.76</td>
</tr>
<tr>
<th>2</th>
<td class="dE0">0.41</td>
<td class="dE3">3.44</td>
<td class="dE1">1.30</td>
Expand All @@ -366,6 +383,7 @@ <h1>PDFium CMYK to sRGB</h1>
<td class="dE2">2.22</td>
</tr>
<tr>
<th>3</th>
<td class="dE3">3.45</td>
<td class="dE2">2.18</td>
<td class="dE2">2.01</td>
Expand All @@ -374,6 +392,7 @@ <h1>PDFium CMYK to sRGB</h1>
<td class="dE1">1.54</td>
</tr>
<tr>
<th>4</th>
<td class="dE0">0.82</td>
<td class="dE3">3.19</td>
<td class="dE4">4.18</td>
Expand Down
29 changes: 26 additions & 3 deletions css-color-5/images/macbeth-naive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 26 additions & 2 deletions css-color-5/images/macbeth-pdfium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7e57391

Please sign in to comment.