14renderingIntentFromConfig(
const KisConfig &cfg)
20KoColorConversionTransformation::ConversionFlags
21conversionFlagsFromConfig(
const KisConfig &cfg)
23 KoColorConversionTransformation::ConversionFlags conversionFlags =
29 return conversionFlags;
44 KoColorConversionTransformation::ConversionFlags _conversionFlags,
48 , conversionFlags(_conversionFlags)
55 return {renderingIntentFromConfig(cfg),
56 conversionFlagsFromConfig(cfg)};
68 QDebugStateSaver saver(debug);
69 debug.nospace() <<
"KisDisplayConfig(";
71 debug.nospace() <<
"profile: " <<
value.profile;
74 debug.nospace() <<
" (" <<
value.profile->name() <<
")";
76 debug.nospace() <<
", ";
77 debug.nospace() <<
"intent: " <<
value.intent <<
", ";
78 debug.nospace() <<
"conversionFlags: " <<
value.conversionFlags <<
", ";
79 debug.nospace() <<
"isHDR: " <<
value.isHDR;
81 debug.nospace() <<
")";
float value(const T *src, size_t ch)
QDebug operator<<(QDebug debug, const KisDisplayConfig &value)
bool allowLCMSOptimization(bool defaultValue=false) const
qint32 monitorRenderIntent(bool defaultValue=false) const
bool useBlackPointCompensation(bool defaultValue=false) const
KisDisplayConfig This class keeps track of the color management configuration for image to display....
bool operator==(const KisDisplayConfig &rhs) const
std::pair< KoColorConversionTransformation::Intent, KoColorConversionTransformation::ConversionFlags > Options
KoColorConversionTransformation::ConversionFlags conversionFlags
static Options optionsFromKisConfig(const KisConfig &cfg)
const KoColorProfile * profile
KoColorConversionTransformation::Intent intent
KoColorConversionTransformation::ConversionFlags conversionFlags
KoColorConversionTransformation::Intent intent
const KoColorProfile * uiProfile
bool operator==(const KisMultiSurfaceDisplayConfig &rhs) const
const KoColorProfile * canvasProfile