159 str <<
" Color Space:" << Qt::endl;
161 if (std::holds_alternative<KisSurfaceColorimetry::NamedPrimaries>(this->
colorSpace.
primaries)) {
162 str <<
" Primaries: " << std::get<KisSurfaceColorimetry::NamedPrimaries>(this->
colorSpace.
primaries) << Qt::endl;
165 str <<
" Primaries: " << Qt::endl;
166 str <<
" Red: " << col.red().toxy() << Qt::endl;
167 str <<
" Green: " << col.green().toxy() << Qt::endl;
168 str <<
" Blue: " << col.blue().toxy() << Qt::endl;
169 str <<
" White: " << col.white().toxy() << Qt::endl;
173 str <<
" Transfer Function: " << std::get<KisSurfaceColorimetry::NamedTransferFunction>(this->
colorSpace.
transferFunction) << Qt::endl;
176 str <<
" Transfer Function (gamma): " << rawValue <<
"(" << qreal(rawValue) / 10000.0 <<
")" << Qt::endl;
182 str <<
" Luminance: " <<
"<none>" << Qt::endl;
186 str <<
" Mastering Info:" << Qt::endl;
188 str <<
" Primaries: " << Qt::endl;
189 str <<
" Red: " << col.red().toxy() << Qt::endl;
190 str <<
" Green: " << col.green().toxy() << Qt::endl;
191 str <<
" Blue: " << col.blue().toxy() << Qt::endl;
192 str <<
" White: " << col.white().toxy() << Qt::endl;
193 str <<
" Luminance: " << this->
masteringInfo->luminance << Qt::endl;
195 str <<
" Max FALL: " << (this->
masteringInfo->maxFall ? QString::number(*this->
masteringInfo->maxFall) :
"<none>") << Qt::endl;
197 str <<
" Mastering Info: <none>" << Qt::endl;