From f0cadbec65068c231361b21ccc3e9868ce898516 Mon Sep 17 00:00:00 2001 From: Emil Martinec Date: Tue, 16 Nov 2010 20:49:50 -0600 Subject: [PATCH] Added "no input color profile" to language/defaults. --- rtdata/languages/default | 1 + rtengine/curves.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rtdata/languages/default b/rtdata/languages/default index 7a7d28b99..c1a68ea63 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -651,6 +651,7 @@ TP_ICM_FILEDLGFILTERANY;Any files TP_ICM_FILEDLGFILTERICM;ICC Profile Files TP_ICM_GAMMABEFOREINPUT;Profile applies Gamma TP_ICM_INPUTCAMERA;Camera default +TP_ICM_INPUTNONE;No profile TP_ICM_INPUTCUSTOM;Custom TP_ICM_INPUTDLGLABEL;Select Input ICC Profile... TP_ICM_INPUTEMBEDDED;Use Embedded, if possible diff --git a/rtengine/curves.cc b/rtengine/curves.cc index 34f833ab0..5224a9606 100644 --- a/rtengine/curves.cc +++ b/rtengine/curves.cc @@ -778,7 +778,7 @@ void CurveFactory::complexCurve (double ecomp, double black, double hlcompr, dou double def_mul = pow (2.0, defmul); - printf ("def_mul= %f ecomp= %f black= %f hlcompr= %f shcompr= %f br= %f contr= %f defmul= %f gamma= %f, skip= %d \n",def_mul,ecomp,black,hlcompr,shcompr,br,contr,defmul,gamma_,skip); + //printf ("def_mul= %f ecomp= %f black= %f hlcompr= %f shcompr= %f br= %f contr= %f defmul= %f gamma= %f, skip= %d \n",def_mul,ecomp,black,hlcompr,shcompr,br,contr,defmul,gamma_,skip); // compute parameters of the gamma curve double start = exp(gamma_*log( -0.099 / ((1.0/gamma_-1.0)*1.099 )));