Change manufacturer and copyright tags in Rtv2*.icc and Rtv4*.icc

This commit is contained in:
Desmis
2018-05-14 14:12:05 +02:00
parent fbc81028eb
commit 7b9319a251
22 changed files with 21 additions and 14 deletions

View File

@@ -1682,16 +1682,23 @@ cmsHPROFILE rtengine::ICCStore::createCustomGammaOutputProfile(const procparams:
} else {
printf("Error: lab2rgbOut / cmsMLUsetWide failed for \"%s\" !\n", gammaGS.c_str());
}
cmsMLUsetWide(mlu, "en", "US", gammaWs.str().c_str());
cmsMLU *copyright = cmsMLUalloc(NULL, 1);
cmsMLUsetASCII(copyright, "en", "US", "No copyright Rawtherapee");
cmsMLUsetASCII(copyright, "en", "US", "Copyright RawTherapee 2018, CC0");
cmsWriteTag(outputProfile, cmsSigCopyrightTag, copyright);
cmsMLUfree(copyright);
cmsWriteTag(outputProfile, cmsSigProfileDescriptionTag, mlu);//desc changed
cmsMLU *MfgDesc;
MfgDesc = cmsMLUalloc(NULL, 1);
cmsMLUsetASCII(MfgDesc, "en", "US", "RawTherapee");
cmsWriteTag(outputProfile, cmsSigDeviceMfgDescTag, MfgDesc);
cmsMLUfree(MfgDesc);
cmsMLUfree(description);
// instruction with //ICC are used to generate ICC profile

View File

@@ -530,18 +530,18 @@ void Options::setDefaults()
rtSettings.monitorIntent = rtengine::RI_RELATIVE;
rtSettings.monitorBPC = true;
rtSettings.autoMonitorProfile = false;
rtSettings.adobe = "RTv2_Medium"; // put the name of yours profiles (here windows)
rtSettings.prophoto = "RTv2_Large"; // these names appear in the menu "output profile"
rtSettings.prophoto10 = "RTv2_Large"; // these names appear in the menu "output profile"
rtSettings.srgb10 = "RTv2_sRGB";
rtSettings.widegamut = "RTv2_Wide";
rtSettings.srgb = "RTv2_sRGB";
rtSettings.bruce = "RTv2_Bruce";
rtSettings.beta = "RTv2_Beta";
rtSettings.best = "RTv2_Best";
rtSettings.rec2020 = "RTv2_Rec2020";
rtSettings.ACESp0 = "RTv2_Acesp0";
rtSettings.ACESp1 = "RTv2_Acesp1";
rtSettings.adobe = "RTv4_Medium"; // put the name of yours profiles (here windows)
rtSettings.prophoto = "RTv4_Large"; // these names appear in the menu "output profile"
rtSettings.prophoto10 = "RTv4_Large"; // these names appear in the menu "output profile"
rtSettings.srgb10 = "RTv4_sRGB";
rtSettings.widegamut = "RTv4_Wide";
rtSettings.srgb = "RTv4_sRGB";
rtSettings.bruce = "RTv4_Bruce";
rtSettings.beta = "RTv4_Beta";
rtSettings.best = "RTv4_Best";
rtSettings.rec2020 = "RTv4_Rec2020";
rtSettings.ACESp0 = "RTv4_Acesp0";
rtSettings.ACESp1 = "RTv4_Acesp1";
rtSettings.verbose = false;
rtSettings.gamutICC = true;
rtSettings.gamutLch = true;