[Lcms-user] dump tables

2005-08-10 Thread andre koerner
Hello, unfortunately I have some more questions about using your library (lcms.dll). I hope you’re able to answer all these questions and I didn’t take too much of your time. I’d like to program an application like the “ICC-Profile Inspector” (with Delphi).   My first problem is to

Re: [Lcms-user] dump tables

2005-08-10 Thread Marti
Hi, My first problem is to dump the gammatable into an array of string for output. gamtbl:=cmsReadICCGamma(hSrc, StrToInt('$' + '72545243')); gamest:=cmsEstimateGamma(gamtbl); So I get the result approximate 1.8 by using eci.icc But how did I get the real values instead of the EstimateGamma?

Re: [Lcms-user] dump tables

2005-08-10 Thread Marti
I think this should be something like: gamtbl:=cmsReadICCGamma(hSrc, StrToInt('$' + '72545243')); for i:=0 to gamtbl^.nEntries - 1 do begin Memo1.Lines.Add(inttostr(gamtbl^.GammaTable[i]))) end; GammaTable[] contains nEntries entries, those are the nodes for linear interpolation. The 0...1 i