I read on color.org: "ICC also specify the LUT approach, which permits
non-linear transformations." And I read that it would be CPU-intensive.
So I thought the following should be possible.
This is what I want to do:
- Specify the white-point at some magenta color
- Specify approximately 10 saturated colors and their counterparts
(resulting in a deformed hue scale)
When the actual work is done, the input is a normal RGB value as in
Windows Paint (I think sRGB), and I want the output to be deformed as
stated above. I don't have an ICC profile file for my device. I only
have colors and their counterparts as RGB values. But it wouldn't matter
to me to create the profile on the fly every time.
Is this task possible? How?
I don't understand enough of the API right now. But maybe it saves you
some time, if I put the list of functions here I supposed to be relevant
for this task:
cmsPipelineEvalFloat / createTransform + doTransform
PS: If you think it's easier to create a profile file: I don't see how
to do that with free software and how to put the data stated above into
the profile file.