6#ifndef KOCOLORPROFILEQUERY_H
7#define KOCOLORPROFILEQUERY_H
50 QDebugStateSaver saver(debug);
51 debug.nospace() <<
"KoColorProfileQuery("
52 <<
" WhitePoint:" <<
value.whitePoint
53 <<
" rgbColorants:" <<
value.rgbColorants
54 <<
" primariesType:" <<
value.primaries
55 <<
" transferFunction:" <<
value.transfer
56 <<
" isGreyscale:" <<
value.isGrayscale()
57 <<
" isRgb:" <<
value.isRgb()
58 <<
" isValid:" <<
value.isValid()
float value(const T *src, size_t ch)
ColorPrimaries
The colorPrimaries enum Enum of colorants, follows ITU H.273 for values 0 to 255, and has extra known...
TransferCharacteristics
The transferCharacteristics enum Enum of transfer characteristics, follows ITU H.273 for values 0 to ...
QDebug operator<<(QDebug debug, const KoColorProfileQuery &value)
The KoColorProfileQuery struct.
TransferCharacteristics transfer
CICP-compatible enum value representing the white point and primaries.
ColorPrimaries primaries
Rgb Primaries of the profile. When empty, this is a query for a greyscale profile.
bool isValid() const
CICP-compatible enum value representing the transfer function.
QList< KoColorimetryUtils::xy > rgbColorants
The desired white point of the profile.
KoColorProfileQuery(ColorPrimaries primaries=PRIMARIES_UNSPECIFIED, TransferCharacteristics transfer=TRC_UNSPECIFIED)
KoColorimetryUtils::xy whitePoint