-
Notifications
You must be signed in to change notification settings - Fork 6
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
Converting an rgb color to a cymk color following an icc profile #6
Comments
This module is designed to parse profiles rather than provide any conversion logic. http://www.littlecms.com/ is the "gold standard" for colour management. The A2B and B2A tags contain look-up-tables (LUTs), which we can definitely expose - happy for a PR to do this. Profiles usually relate to a specific colourspace, e.g. RGB or CMYK, rather than about conversion between them. Perhaps you need something like https://www.npmjs.com/package/color ? |
Well maybe i miss some bit of knowledge. My specific problem is I thought that the color profile include necessary information for this conversion to happen correctly, and i thought that extracting data from the color profile is part of the process. I also thought that LUTs are how this happen. How much i am far from the truth? |
https://www.color.org/icc32.pdf I think you need to read this specification document in order to understand what Mr lovell has said in his previous comment. Plus, I also would like would like to expose matrice tables that are used for conversion. Also I am not even sure that we use a matrix and its inverse matrix for cmyk ==> rgb or rgb=> cmyk i have also downloaded the official profile inspector from the icc organization https://www.color.org/profileinspector.xalter Well, i have just seen that this post is from july 2020 but I will just keep it here if anyone has the same questions or even answers! edit: the mathematical model is explained in page 50 of the icc profile specification |
I know this is a common question, i googled a bit i could not find anything.
I see there is a PR open that adds more parsing to this library, and i was wondering if those tags are somehow related to the color conversion.
If they are i'm willing to pick up the work where it was left and move forward.
I would kindly ask, if you know, if with some extra work this library can become a color converter using the information contained in the color profile.
thanks.
The text was updated successfully, but these errors were encountered: