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: cmsCreate_sRGBProfile cmsPipelineAlloc cmsStageAllocCLutFloat cmsPipelineInsertStage cmsWriteTag(cmsSigAToB0Tag) cmsPipelineEvalFloat / createTransform + doTransform Thanks! 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user