summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimage.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2024-03-01 19:15:06 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2024-04-04 16:08:22 +0100
commit7f72a93e874f5e52612983ad3b764f07216bf62e (patch)
tree957a24c97e355f2f9e5c0369898acaa981bdf39b /src/gui/image/qimage.h
parentadb49d65e0774fa6be0b0d9d490c6f1fc5066a1b (diff)
Port QImage::Format_CMYK32 to CMYK8888
Follow the established convention that byte-oriented image formats have the "8888" suffix, not "32". The old enum name is temporarily left to help port other submodules. This work has been kindly sponsored by the QGIS project (https://qgis.org/). Change-Id: I4b6f10cb22312b614cb9cf4b0ac439907276c538 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/image/qimage.h')
-rw-r--r--src/gui/image/qimage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/image/qimage.h b/src/gui/image/qimage.h
index 605a1084ed..a60dacb701 100644
--- a/src/gui/image/qimage.h
+++ b/src/gui/image/qimage.h
@@ -75,7 +75,8 @@ public:
Format_RGBX32FPx4,
Format_RGBA32FPx4,
Format_RGBA32FPx4_Premultiplied,
- Format_CMYK32,
+ Format_CMYK8888,
+ Format_CMYK32 = Format_CMYK8888,
#ifndef Q_QDOC
NImageFormats
#endif