El 21/12/2012 18:15, Richard Hughes
escribió:
cmsFloat64Number params[7]; params[0] = 0.45; /* y */ params[1] = 1.099; /* a */ params[2] = 0.0; /* b */ params[3] = 4.5; /* c */ params[4] = 0.018; /* d */ params[5] = -0.099; /* e */ params[6] = 0.0; /* f */ return cmsBuildParametricToneCurve (NULL, 5, params); Hi Richard, I think you have e and f swapped, this is from the documentation (Table 52) Y = (aX + b)^Gamma + e | X >= d Y = cX + f | X < d And this is Rec709 ![]() Regards & merry xmas Marti |
------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user