Hi Marti and others,

 

Thanks for yet another wonderful release of the lcms library.

 

Today I tried the 1.12 release version.

Unfortunately, there was in error during runtime, ‘log domain  atan2’ or something like that.

(Using BCB 6, Windows 2000).

 

 

I found the error to occur in ‘cmspcs.c’ in the function ‘cmsLab2LCh’ on the following line: 

            LCh -> h = atan2(Lab -> b, Lab -> a);

 

I fixed it by replacing this with the 1.11 code:

  if (Lab -> a == 0)

            LCh -> h   = 0;

  else

            LCh -> h = atan2(Lab -> b, Lab -> a);

 

I hope this information is of some use to you!

 

Greetings,

Auke Nauta

 

 

 

 

 

 

Reply via email to