Issue 2846: Filter preview through output profile when using a monitor profile.

- Removed the "Rendering intent" setting from Preferences,
- Hard-code "relative colorimetric" intent everywhere,
- Filter through output profile before filtering through monitor
  profile if using a monitor profile,
- If not using a monitor profile, a direct sRGB conversion is done,
This commit is contained in:
Morgan Hardwood
2015-08-12 13:27:45 +02:00
parent 1fe1508fa9
commit 91f67f0cb6
6 changed files with 60 additions and 17 deletions

View File

@@ -60,6 +60,8 @@ class ImProcFunctions
static LUTf gamma2curve;
cmsHTRANSFORM monitorTransform;
cmsHTRANSFORM lab2outputTransform;
cmsHTRANSFORM output2monitorTransform;
const ProcParams* params;
double scale;
@@ -222,7 +224,7 @@ public:
static void cleanupCache ();
ImProcFunctions (const ProcParams* iparams, bool imultiThread = true)
: monitorTransform(NULL), params(iparams), scale(1), multiThread(imultiThread) {}
: monitorTransform(NULL), lab2outputTransform(NULL), output2monitorTransform(NULL), params(iparams), scale(1), multiThread(imultiThread) {}
~ImProcFunctions ();
void setScale (double iscale);