Skip to content
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

How to define a GRB? #8

Open
Karbonforms opened this issue Nov 5, 2021 · 2 comments
Open

How to define a GRB? #8

Karbonforms opened this issue Nov 5, 2021 · 2 comments

Comments

@Karbonforms
Copy link

How can I define a GRB?

I can see the scramble stuff in there but can't figure out how to define it from the maze of templates.

@dmilos
Copy link
Owner

dmilos commented Nov 6, 2021

Unfortunate not possible to do that easy. Main problems is keep conversion from RGB-like model to others and keep instance declaration like color::rgb<double> to be simple. Similarly from HSL we can make LSH. This will introduce more problems in implementation and make confusion in code reading.
Possible idea is color::model< rgb_scramble<double, 1,0,2> >, downside is that this will introduce new class in currently too large API. Still thinking about that. rgb_scramble is not part of API, just idea.
Best I can do is to redirect to boost::gil, it might help.

@Karbonforms
Copy link
Author

Karbonforms commented Nov 6, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants