-
Notifications
You must be signed in to change notification settings - Fork 2
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
Color representation #20
Comments
Will be hard to replace dplug:graphics without it since in dplug:graphics you can assign pixels with a RGBA() struct, but the image is monomorphic. Should the struct be there? |
The original code from Manu isn't bad at all... a bit templatey maybe |
But we need a ICC profile parser too. Could be basis for colorspace. |
Color API out there: raylib: (only sRGB)
CSS color-mod
|
Separated into a |
a struct that represent a color, in various color spaces.
When we write
image.fillWithColor(col);
,col
is converted to the right space.The text was updated successfully, but these errors were encountered: