Quoting Vincent Ponchaut <vincent.ponch...@hotmail.fr>: > Hi everyone, > I am trying to find a generic approach for reading the 'lumi' tag > accurately, using Little CMS 2.7. I use ICC profiles that are > generated with XRite i1 display pro, and it seems that the X & Z > values of the CIEXYZ 'lumi' value are not 0 (making the profile > wrong according to the ICC spec). > I am under the impression that little CMS applies a kind of > correction whenever this kind of 'lumi' tag is detected (diving X, > Y, and Z by 100.0 ? ).
Hello Vicent, LittleCMS does nothing with the contents of luminance tag. It just returns the XYZ contained it it. Make sure to use the right type, which is cmsCIEXYZ. Otherwise yes, you can mix read raw with read cooked, but what you say closing and reopening the handle gives you different values is very suspicious. Could you show us the portion of code that reads that tag? Thanks. Oh, also make sure to try the latest code from GIT, there are some fixes that may be relevant. Regards Marti ------------------------------------------------------------------------------ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user