From bd9704da80c61eeac999b7a4a16aefd3afc70243 Mon Sep 17 00:00:00 2001 From: Desmis Date: Mon, 17 May 2021 12:56:20 +0200 Subject: [PATCH] Change default primaries slider from Adobe to ProPhoto --- rtengine/procparams.cc | 12 ++++++------ rtgui/icmpanel.cc | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/rtengine/procparams.cc b/rtengine/procparams.cc index d9ee8c55f..d2ea1748d 100644 --- a/rtengine/procparams.cc +++ b/rtengine/procparams.cc @@ -2276,12 +2276,12 @@ ColorManagementParams::ColorManagementParams() : wprim(Primaries::DEFAULT), workingTRCGamma(2.4),//gamma sRGB workingTRCSlope(12.92), - redx(0.64), - redy(0.33), - grex(0.21), - grey(0.71), - blux(0.15), - bluy(0.06), + redx(0.7347), + redy(0.2653), + grex(0.1596), + grey(0.8404), + blux(0.0366), + bluy(0.0001), preser(0.), fbw(false), labgridcieALow(0.51763),//Prophoto red = (0.7347+0.1) * 1.81818 - 1 diff --git a/rtgui/icmpanel.cc b/rtgui/icmpanel.cc index 6e3b69904..b5fae1d61 100644 --- a/rtgui/icmpanel.cc +++ b/rtgui/icmpanel.cc @@ -284,17 +284,17 @@ ICMPanel::ICMPanel() : FoldableToolPanel(this, "icm", M("TP_ICM_LABEL")), iuncha wprim->set_tooltip_text(M("TP_ICM_PRIMILLUM_TOOLTIP")); - redx = Gtk::manage(new Adjuster(M("TC_PRIM_REDX"), 0.41, 1.0, 0.0001, 0.6400)); + redx = Gtk::manage(new Adjuster(M("TC_PRIM_REDX"), 0.41, 1.0, 0.0001, 0.7347)); setExpandAlignProperties(redx, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER); - redy = Gtk::manage(new Adjuster(M("TC_PRIM_REDY"), 0.0, 0.70, 0.0001, 0.3300)); + redy = Gtk::manage(new Adjuster(M("TC_PRIM_REDY"), 0.0, 0.70, 0.0001, 0.2653)); setExpandAlignProperties(redy, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER); - grex = Gtk::manage(new Adjuster(M("TC_PRIM_GREX"), -0.1, 0.4, 0.0001, 0.2100)); + grex = Gtk::manage(new Adjuster(M("TC_PRIM_GREX"), -0.1, 0.4, 0.0001, 0.1596)); setExpandAlignProperties(grex, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER); - grey = Gtk::manage(new Adjuster(M("TC_PRIM_GREY"), 0.50, 1.0, 0.0001, 0.7100)); + grey = Gtk::manage(new Adjuster(M("TC_PRIM_GREY"), 0.50, 1.0, 0.0001, 0.8404)); setExpandAlignProperties(grey, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER); - blux = Gtk::manage(new Adjuster(M("TC_PRIM_BLUX"), -0.1, 0.4, 0.0001, 0.1500)); + blux = Gtk::manage(new Adjuster(M("TC_PRIM_BLUX"), -0.1, 0.4, 0.0001, 0.0366)); setExpandAlignProperties(blux, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER); - bluy = Gtk::manage(new Adjuster(M("TC_PRIM_BLUY"), -0.1, 0.5, 0.0001, 0.060)); + bluy = Gtk::manage(new Adjuster(M("TC_PRIM_BLUY"), -0.1, 0.5, 0.0001, 0.0001)); setExpandAlignProperties(bluy, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER); redx->set_tooltip_text(M("TP_ICM_PRIMRED_TOOLTIP"));