Transformation between two color spaces via cms

This commit is contained in:
Jakub Melka
2021-01-07 18:46:44 +01:00
parent a2dc4e16a8
commit 0c533e10b2
3 changed files with 352 additions and 9 deletions

View File

@@ -220,9 +220,15 @@ public:
QByteArray sourceIccData;
QByteArray targetIccData;
PDFColorBuffer input;
PDFColorBuffer output;
RenderingIntent intent = RenderingIntent::Unknown;
};
/// Transforms color between two color spaces.
/// Transforms color between two color spaces. Doesn't do soft-proofing,
/// it just transforms two float buffers from input color space to output color space.
virtual bool transformColorSpace(const ColorSpaceTransformParams& params) const = 0;
/// Get D50 white point for XYZ color space