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

Is there any way to set customized pigment set? #13

Open
universewill opened this issue Feb 5, 2023 · 1 comment
Open

Is there any way to set customized pigment set? #13

universewill opened this issue Feb 5, 2023 · 1 comment

Comments

@universewill
Copy link

Is there any way to set customized pigment set?

@mdop
Copy link

mdop commented Jan 24, 2025

If you mean mixing pigments using the library: They are just RGB values. If you mean a set of pigments which are the basis of the mixing algorithm that define the pigment color space (here Phthalo Blue, Quinacridone Magenta, Hansa Yellow, and Titanium White) then you would need to modify the code. If you look in the python implementation the pigment data seem to be encoded in _lut, which would have to be recreated for a different pigment set. The calculations in float_rgb_to_latent and _eval_polynomial would probably also have to be rewritten.

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