Fixed bug Output Profile does not worl at all

This commit is contained in:
Desmis
2018-04-15 17:22:45 +02:00
parent fe1114b7cf
commit 6dc36cfd18
3 changed files with 3 additions and 3 deletions

View File

@@ -211,7 +211,7 @@ void RawImageSource::getAutoMatchedToneCurve(const ColorManagementParams &cp, st
neutral.raw.bayersensor.method = RAWParams::BayerSensor::getMethodString(RAWParams::BayerSensor::Method::FAST);
neutral.raw.xtranssensor.method = RAWParams::XTransSensor::getMethodString(RAWParams::XTransSensor::Method::FAST);
neutral.icm.output = "sRGB";
neutral.icm.gamma = "default";
neutral.icm.gamma = "Free";
neutral.icm.freegamma = false;
std::unique_ptr<IImage8> source;

View File

@@ -1253,7 +1253,7 @@ private:
bool useLCMS = false;
bool bwonly = params.blackwhite.enabled && !params.colorToning.enabled && !autili && !butili ;
if (params.icm.gamma != "default" || params.icm.freegamma) { // if select gamma output between BT709, sRGB, linear, low, high, 2.2 , 1.8
if (params.icm.gamma != "Free" || params.icm.freegamma) { // if select gamma output between BT709, sRGB, linear, low, high, 2.2 , 1.8
GammaValues ga;
// if(params.blackwhite.enabled) params.toneCurve.hrenabled=false;