added option to check for out-of-gamut colors wrt the monitor profile
If soft-proofing is turned off, enabling gamut check will show highlight the pixels that are out of gamut for the current monitor profile
This commit is contained in:
@@ -337,6 +337,17 @@ void ImProcFunctions::updateColorProfiles (const Glib::ustring& monitorProfile,
|
||||
softProofCreated = true;
|
||||
}
|
||||
}
|
||||
} else if (gamutCheck) {
|
||||
flags = cmsFLAGS_GAMUTCHECK | cmsFLAGS_NOOPTIMIZE | cmsFLAGS_NOCACHE;
|
||||
if (settings->monitorBPC) {
|
||||
flags |= cmsFLAGS_BLACKPOINTCOMPENSATION;
|
||||
}
|
||||
|
||||
monitorTransform = cmsCreateProofingTransform(iprof, TYPE_Lab_FLT, monitor, TYPE_RGB_8, monitor, monitorIntent, monitorIntent, flags);
|
||||
|
||||
if (monitorTransform) {
|
||||
softProofCreated = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!softProofCreated) {
|
||||
|
||||
Reference in New Issue
Block a user