Fixed bug ExecCMSTransform for non raw files

This commit is contained in:
Desmis
2018-05-01 09:39:15 +02:00
parent 7ca1492138
commit 9e5506aa35
3 changed files with 50 additions and 2 deletions

View File

@@ -654,7 +654,7 @@ Imagefloat* ImProcFunctions::workingtrc(Imagefloat* working, int cw, int ch, int
cmsHTRANSFORM hTransform = cmsCreateTransform(iprof, TYPE_RGB_FLT, oprofdef, TYPE_RGB_FLT, params->icm.outputIntent, flags);
lcmsMutex->unlock();
image->ExecCMSTransform(hTransform);
image->ExecCMSTransform2(hTransform);
cmsDeleteTransform(hTransform);
image->normalizeFloatTo65535();