Removed printf relicts from softproofing branch
This commit is contained in:
@@ -293,16 +293,16 @@ Image16* ImProcFunctions::lab2rgb16 (LabImage* lab, int cx, int cy, int cw, int
|
|||||||
printf("iccStore->createGammaProfile(icm, *ga);\n");
|
printf("iccStore->createGammaProfile(icm, *ga);\n");
|
||||||
} else {
|
} else {
|
||||||
oprof = iccStore->getProfile (icm.output);
|
oprof = iccStore->getProfile (icm.output);
|
||||||
printf("iccStore->getProfile (%s);\n", icm.output.c_str());
|
// printf("iccStore->getProfile (%s);\n", icm.output.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oprof) {
|
if (oprof) {
|
||||||
cmsUInt32Number flags = cmsFLAGS_NOOPTIMIZE | cmsFLAGS_NOCACHE;
|
cmsUInt32Number flags = cmsFLAGS_NOOPTIMIZE | cmsFLAGS_NOCACHE;
|
||||||
if (icm.outputBPC) {
|
if (icm.outputBPC) {
|
||||||
flags |= cmsFLAGS_BLACKPOINTCOMPENSATION;
|
flags |= cmsFLAGS_BLACKPOINTCOMPENSATION;
|
||||||
printf("lab2rgb16 / icm.outputBPC=true / outputIntent=%d\n", icm.outputIntent);
|
// printf("lab2rgb16 / icm.outputBPC=true / outputIntent=%d\n", icm.outputIntent);
|
||||||
}
|
}
|
||||||
else printf("lab2rgb16 / icm.outputBPC=false / outputIntent=%d\n", icm.outputIntent);
|
// else printf("lab2rgb16 / icm.outputBPC=false / outputIntent=%d\n", icm.outputIntent);
|
||||||
lcmsMutex->lock ();
|
lcmsMutex->lock ();
|
||||||
cmsHPROFILE iprof = cmsCreateLab4Profile(nullptr);
|
cmsHPROFILE iprof = cmsCreateLab4Profile(nullptr);
|
||||||
cmsHTRANSFORM hTransform = cmsCreateTransform (iprof, TYPE_Lab_FLT, oprof, TYPE_RGB_16, icm.outputIntent, flags);
|
cmsHTRANSFORM hTransform = cmsCreateTransform (iprof, TYPE_Lab_FLT, oprof, TYPE_RGB_16, icm.outputIntent, flags);
|
||||||
|
Reference in New Issue
Block a user