Change Integrated with Embedded - changer folder profile ICC to cache

This commit is contained in:
Desmis
2018-05-04 07:39:48 +02:00
parent c297d74891
commit 1271701114
2 changed files with 4 additions and 2 deletions

View File

@@ -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());
}