improved out-of-gamut warning, taken from PhotoFlow
This commit is contained in:
@@ -45,8 +45,9 @@ class ImProcFunctions
|
||||
|
||||
|
||||
cmsHTRANSFORM monitorTransform;
|
||||
cmsHTRANSFORM lab2outputTransform;
|
||||
cmsHTRANSFORM output2monitorTransform;
|
||||
cmsHTRANSFORM gw_lab2refTransform;
|
||||
cmsHTRANSFORM gw_lab2softproofTransform;
|
||||
cmsHTRANSFORM gw_softproof2refTransform;
|
||||
|
||||
const ProcParams* params;
|
||||
double scale;
|
||||
@@ -197,7 +198,7 @@ public:
|
||||
double lumimul[3];
|
||||
|
||||
ImProcFunctions (const ProcParams* iparams, bool imultiThread = true)
|
||||
: monitorTransform (nullptr), lab2outputTransform (nullptr), output2monitorTransform (nullptr), params (iparams), scale (1), multiThread (imultiThread), lumimul{} {}
|
||||
: monitorTransform (nullptr), gw_lab2refTransform(nullptr), gw_lab2softproofTransform(nullptr), gw_softproof2refTransform(nullptr), params (iparams), scale (1), multiThread (imultiThread), lumimul{} {}
|
||||
~ImProcFunctions ();
|
||||
bool needsLuminanceOnly() { return !(needsCA() || needsDistortion() || needsRotation() || needsPerspective() || needsLCP() || needsLensfun()) && (needsVignetting() || needsPCVignetting() || needsGradient());}
|
||||
void setScale (double iscale);
|
||||
|
Reference in New Issue
Block a user