[ColorPicker] Increase precision of CIEXYZ format (#17041)

* Increase precision of CIEXYZ conversion matrix

The output has 4 decimal places, so the conversion matrix should be more than 6 digits to avoid round-off errors.

* Match unit tests and docs with new CIEXYZ conversion matrix

* Remove negative sign from zeros

I generated the unit test results from other color-management systems.
It seems that they sometimes output negative zeros for very small values.
Let's just remove the negative signs for aesthetic.

* Fix spelling mistakes in ColorConverterTest.cs

* Explain how to obtain CIEXYZ unit test reference values

* Explain the CIELAB output is D65 adapted version

* Add words related to CIEXYZ conversion to spellcheck bypass list
This commit is contained in:
Star Brilliant
2022-03-21 12:15:48 +00:00
committed by GitHub
parent b7d528b6e8
commit 42ba008323
3 changed files with 80 additions and 59 deletions

View File

@@ -178,6 +178,7 @@ bpp
bricelam
BRIGHTGREEN
Browsable
brucelindbloom
bsd
bstr
bti
@@ -523,6 +524,7 @@ enum
EOAC
eol
epicgames
Eqn
ERASEBKGND
EREOF
EResize
@@ -2033,6 +2035,7 @@ towupper
tracelogging
traies
transcoded
transicc
Transnistria
TRAYMOUSEMESSAGE
triaging