You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue converting an XYZ value to RGB and back, it seems that for some values this works, but for others not. I could not find any range for the XYZ values in the readme (as for the other values), maybe it is related to that?.
I have been fiddling with the color-space library as well, but that seems to have the same result (colorjs/color-space#48). Is this a bug in the conversion algorithm?
The text was updated successfully, but these errors were encountered:
XYZ and RGB do not have direct conversations; I'm not well versed in XYZ theory but if I recall correctly, it's an approximation and won't give you stable results when converting between the two.
Hi, first thanks for this great library!
I have an issue converting an XYZ value to RGB and back, it seems that for some values this works, but for others not. I could not find any range for the XYZ values in the readme (as for the other values), maybe it is related to that?.
This conversion matches (after rounding):
However, the following conversion is a mismatch (and quite some other value):
I have been fiddling with the
color-space
library as well, but that seems to have the same result (colorjs/color-space#48). Is this a bug in the conversion algorithm?The text was updated successfully, but these errors were encountered: