XIAOCAO,
did you test all the intermediate results for existence, e.g.
if(!hInProfile) {
error = 1; exit error; }
and so on.
The next would be to look at the input and output buffers content.
Step 5, personally I never needed.
kind regards
Kai-Uwe Behrmann
--
developing for colour management
HI,
I have trouble with converting some couples of RGB pixels into CIELAB color
space based on an rgb icc profile(eg. sRGB.icm). I take the following steps:
Here are some variables:
unsigned char *bufferIn;
WORD *bufferOut;
cmsCIELab lab;
WORD wlab[3];
1) open a rgb pr