-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhanced constants precision #32
Comments
Awesome! |
I don't think I have any colour space you don't, except a lot of RGB colour spaces, but if I get any you don't have, I will let you know. I do however have very exact numbers and not the rounded numbers you find everywhere. Here are some things I have that might be interesting: Standard illuminants with values calculated from the wavelength tables: sRGB transfer function encoder/decoder with very exact values: Not sure if this will make any difference in JavaScript, but I have a bit more precise matrix for conversion from sRGB to CIE XYZ: A bunch of RGB colour spaces: And support for custom RGB colour spaces: |
Ok, that is a possible enhancement |
I agree that it would be great if you could clarify the situation around RGB color spaces. I'd say that most people refer to "sRGB" when they say "RGB" but there are many other variants such as linear RGB, CIE RGB or all the variants in maandree's project. |
It is worth noting that is not uncommon that the term RGB is used to refer to CIE RGB without its transfer function. |
Hi! I'm working on a similar C library.
https://github.com/maandree/libcolour
The text was updated successfully, but these errors were encountered: