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 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?

 

 

My second problem is to dump the Look-Up-Table into an array of string for output.

 

To use the “cmsReadICCLut” function, I had to insert the following program lines into the lcmsdll.pas:

 

Function cmsReadICCLut (hProfile: cmsHPROFILE;

                                           Sig: icTagSignature): LPLUT; StdCall;

 

Function cmsReadICCLut (hProfile: cmsHPROFILE;

                                            Sig: icTagSignature): LPLUT; EXTERNAL 'lcms.dll';

 

 

The result I get is a Pointer (LPLUT).

Could you explain me how I can handle the LPLUT-Pointer to

get the Input and Output values of the Look-Up-Table.

 

 

Regards,

André K.

 

Reply via email to