Some fixes suggested by @Floessie

This commit is contained in:
Ingo Weyrich
2020-07-16 11:35:41 +02:00
parent 4395a1a0b1
commit 6caf33a589
8 changed files with 33 additions and 115 deletions

View File

@@ -485,8 +485,7 @@ void ImProcFunctions::workingtrc(const Imagefloat* src, Imagefloat* dst, int cw,
}
GammaValues g_a; //gamma parameters
constexpr int mode = 0;
Color::calcGamma(pwr, ts, mode, g_a); // call to calcGamma with selected gamma and slope : return parameters for LCMS2
Color::calcGamma(pwr, ts, g_a); // call to calcGamma with selected gamma and slope : return parameters for LCMS2
cmsFloat64Number gammaParams[7];