diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-08-19 00:59:34 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-08-19 20:10:13 +0200 |
| commit | 6b1a1b7af33c34339e649d1c757f4a2de0ac66e8 (patch) | |
| tree | cbb2723964eff9ce3f1103d742ca264f6b4687bf /src/widgets/doc/snippets/mainwindowsnippet.cpp | |
| parent | c28a574b6cda65c99c6ac8551b7976113d391cda (diff) | |
Fix QPixelFormat definition of QImage::Format_ARGB4444_Premultiplied
The pixel format claimed to have alpha last, but that's not what the
name would indicate, nor what the logic in QImage::checkForAlphaPixels
assumes.
Discovered when generating CGImageRefs from the pixel format definition,
and seeing obviously wrong pixels values in the written PNG.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Iac8c9961b6e46d4627a579a2129e29b95a4e3343
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/mainwindowsnippet.cpp')
0 files changed, 0 insertions, 0 deletions
