Removed printf relicts from softproofing branch

This commit is contained in:
heckflosse
2016-10-21 02:09:14 +02:00
parent 8cad2f8863
commit 17ea8b162c

View File

@@ -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);