qt6-bb10/tests/baseline
Giuseppe D'Angelo 2a54229f90 GUI: add CMYK painting support
This commit adds a CMYK 8bpp format to QImage. The idea is to enable the
transport of CMYK images inside Qt, for instance to be loaded/saved from
files or painted on CMYK capable paint devices (e.g. PDF).

Also, rasterization support *from* a CMYK image is added (on top of a
RGB surface), as well as CMYK image scaling/conversion.

Conversion and rasterization between CMYK and RGB isn't particularly
optimized nor it honors any colorspaces yet. The overall idea is to
match 1:1 the existing behavior of CMYK QColor (which get naively
changed to RGB; there isn't colorspace support in QPainter yet).

There are no plans to add rasterization *towards* CMYK.

Image save/load in native CMYK formats will be added in future commits.

This work has been kindly sponsored by the QGIS project
(https://qgis.org/).

[ChangeLog][QtGui] Support for 8-bit CMYK images has been added.

Change-Id: I4b024cd4c15119c669b6ddd450418a9e425587f8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2024-04-03 18:31:36 +01:00
..
painting Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
shared GUI: add CMYK painting support 2024-04-03 18:31:36 +01:00
stylesheet Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
text Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
widgets Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Fix build without PDF 2024-02-25 21:40:47 +00:00