small changes to limits
This commit is contained in:
@@ -1311,6 +1311,7 @@ cmsHPROFILE rtengine::ICCStore::createFromMatrix(const double matrix[3][3], bool
|
||||
cmsHPROFILE rtengine::ICCStore::createGammaProfile(const procparams::ColorManagementParams &icm, GammaValues &ga)
|
||||
{
|
||||
float p[6]; //primaries
|
||||
ga[5] = 0.0;
|
||||
ga[6] = 0.0;
|
||||
|
||||
enum class ColorTemp {
|
||||
|
@@ -529,6 +529,7 @@ Imagefloat* ImProcFunctions::workingtrc(Imagefloat* working, int cw, int ch, int
|
||||
ga2 = g_a[4] / (1.0 + g_a[4]);
|
||||
ga3 = 1. / slpos;
|
||||
ga5 = 0.0;
|
||||
ga6 = 0.0;
|
||||
// printf("ga0=%f ga1=%f ga2=%f ga3=%f ga4=%f\n", ga0, ga1, ga2, ga3, ga4);
|
||||
|
||||
cmsCIExyY xyD;
|
||||
|
@@ -205,8 +205,8 @@ ICMPanel::ICMPanel() : FoldableToolPanel(this, "icm", M("TP_ICM_LABEL")), iuncha
|
||||
Gtk::VBox * gammaVBox = Gtk::manage(new Gtk::VBox());
|
||||
gammaVBox->set_spacing(2);
|
||||
|
||||
gamm = Gtk::manage(new Adjuster(M("TP_GAMMAWORK_GAMMA"), 0.40, 10.0, 0.001, 2.4));
|
||||
slop = Gtk::manage(new Adjuster(M("TP_GAMMAWORK_SLOPE"), 0., 100., 0.01, 12.92));
|
||||
gamm = Gtk::manage(new Adjuster(M("TP_GAMMAWORK_GAMMA"), 0.40, 15.0, 0.001, 2.4));
|
||||
slop = Gtk::manage(new Adjuster(M("TP_GAMMAWORK_SLOPE"), 0., 150., 0.01, 12.92));
|
||||
wVBox->pack_start(*gamm, Gtk::PACK_SHRINK);
|
||||
gamm->show();
|
||||
|
||||
|
Reference in New Issue
Block a user