Open smmehadi opened 4 years ago
I am looking for that functionality as well!
It is relatively easy to convert XYZ to xyY, and since this library provides XYZ -> RGB you can basically do anything once you converted XYZ to xyY.
x = X/(X+Y+Z)
y = Y/(X+Y+Z)
Y = Y
Source: http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_xyY.html
Feel free to submit a PR :)
We are planning to use this library for color conversions and it looks great, the only missing part is it doesn't provide conversion to xyY color space. please include that.