After rewriting all the color space conversion code now using as input only:
– the primaries xy coordinates
– white point / illuminant XYZ coordinates
– an opto electronic conversion function (aka gamma)
– optionally fixed black and white point values
Here's a few examples of various color spaces presets I added to stress test the math and conversion matrices generated, by simulating measurements of a display rendering them perfectly each one.
All good 🙂