Hi, Please make sure to use relative colorimetric intent. If the profile is good enough, L* should remain unchanged. But not all profiles are good. sRGB does the trick, for example.
Marti Quoting jürgen sauerzapf <juer...@sauerzapf.name>: > Hello Mr. Marti, > > I programmed the back and forth conversion. > And I stepped into another challenge. May be you can give me a hint, too. > > The L - Values ( the final ones , Lab -> Profile -> Profile -> Lab ) > are not the same as the one I started from. > Thats logical. I could now sieve if the returned L Value is some > thing between original L ± a variance. > But this results in very few coordinates remaining. > > What can I do to get a constant L - Value through the conversion? > Can you hint me some code doing an interpolation with the few valid > Lab coordinates. > > Thank you very much. > > Best Jürgen > > > > >> Is that for a given profile? If so, do a transform: >> >> Lab -> Profile -> Profile -> Lab. >> >> And then feed the transform with a sampling on Lab space, >> where L*=your fixed value and varying a*/b* from -128 to +128. >> >> The profile will clip out of gamut colors and you will get a estimation >> of the maximum. >> >> Regards >> Marti >> >> > ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user