>> Now for some advice. > [..] > That sounds pretty attractive, but I'm not sure how to go about that > starting with the user creating a lightness curve -- how do I create > a CLUT 3D table from that curve?
Take a look on function cmsCreateBCHSWabstractProfileTHR source code on file cmsvirt.c, it is almost what you need. In the sampler function you could use cmsEvalToneCurveFloat, for example. Regards Marti ------------------------------------------------------------------------------ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user