Color adaptation for XYZ color space

This commit is contained in:
Jakub Melka
2021-05-08 18:16:28 +02:00
parent a34ee620b9
commit d607c24459
3 changed files with 195 additions and 8 deletions

View File

@ -419,6 +419,18 @@ private:
mutable PDFCachedItem<PDFColorProfileIdentifiers> m_externalProfiles;
};
/// Class providing chromatic adaptation of whitepoints
/// using various method.
class PDFChromaticAdaptationXYZ
{
public:
PDFChromaticAdaptationXYZ() = delete;
static PDFColorComponentMatrix_3x3 createWhitepointChromaticAdaptation(const PDFColor3& targetWhitePoint,
const PDFColor3& sourceWhitePoint,
PDFCMSSettings::ColorAdaptationXYZ method);
};
} // namespace pdf
#endif // PDFCMS_H