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
Maybe I'm missing something, but the following behavior for BGR was unexpected:
> c = RGB(0.0, 0.5, 1.0); c.r 0.0 > d = BGR(0.0, 0.5, 1.0); d.r 0.0
I would have expected BGR to set its red channel to 1.0, but it appears to also be using the RGB ordering.
The text was updated successfully, but these errors were encountered:
See the bold text in https://github.com/JuliaGraphics/ColorTypes.jl#rgb-plus-bgr-xrgb-rgbx-and-rgb24-the-abstractrgb-group. This is a debatable design decision but it allows generic programming without needing to know or care about the specific memory layout.
Sorry, something went wrong.
No branches or pull requests
Maybe I'm missing something, but the following behavior for BGR was unexpected:
I would have expected BGR to set its red channel to 1.0, but it appears to also be using the RGB ordering.
The text was updated successfully, but these errors were encountered: