From 1271701114d99c78008adf25cfc7fdaaf883ad22 Mon Sep 17 00:00:00 2001 From: Desmis Date: Fri, 4 May 2018 07:39:48 +0200 Subject: [PATCH] Change Integrated with Embedded - changer folder profile ICC to cache --- rtdata/languages/default | 2 +- rtengine/iccstore.cc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rtdata/languages/default b/rtdata/languages/default index 4cdd1b53e..84fabade1 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -1596,7 +1596,7 @@ TP_FLATFIELD_CLIPCONTROL;Clip control TP_FLATFIELD_CLIPCONTROL_TOOLTIP;Clip control avoids clipped highlights caused by applying the flat field. If there are already clipped highlights before applying the flat field, clip control can lead to color cast. TP_FLATFIELD_LABEL;Flat-Field TP_GAMMA_CURV;Gamma -TP_GAMMA_FREE;Custom Output Integrate Profile & generate ICC +TP_GAMMA_FREE;Custom Output Embedded Profile & generate ICC TP_GAMMA_PRIM;Primaries Output profile TP_GAMMA_OUTPUT;Tone responce curve TP_GAMMA_PROF;Generate ICC profile diff --git a/rtengine/iccstore.cc b/rtengine/iccstore.cc index 427459ad5..7c69d60c0 100644 --- a/rtengine/iccstore.cc +++ b/rtengine/iccstore.cc @@ -1848,10 +1848,12 @@ cmsHPROFILE rtengine::ICCStore::createCustomGammaOutputProfile(const procparams: cmsMLUfree(mlu); + Glib::ustring realoutPro; + realoutPro = options.cacheBaseDir + "/" + outPro;//ICC profile in cache if (icm.wprofile == "v2" || icm.wprofile == "v4") { - cmsSaveProfileToFile(outputProfile, outPro.c_str()); + cmsSaveProfileToFile(outputProfile, realoutPro.c_str()); }