We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thank you for your code. I use C++to process colors temporarily, and these codes have provided me with some convenience.
An error was found in the XYZ_to_RGB.hpp
There is an error in the calculation order of converting linear rgb to srgb in line 19. The correct order is:
std:: pow (linear srgb color (i), 1.0/2.4) * 1.055-0.055
Perhaps you can verify and fix this issue.
The text was updated successfully, but these errors were encountered:
Thanks for pointing this out! It seems that my equation was wrong. I am not sure why it passed the test (
color-util/tests/conversions/main.cpp
Line 43 in 8db4b1d
Sorry, something went wrong.
No branches or pull requests
Thank you for your code. I use C++to process colors temporarily, and these codes have provided me with some convenience.
An error was found in the XYZ_to_RGB.hpp
There is an error in the calculation order of converting linear rgb to srgb in line 19. The correct order is:
Perhaps you can verify and fix this issue.
The text was updated successfully, but these errors were encountered: