summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qgenericunixservices.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2022-10-21 13:56:30 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2022-10-22 13:32:52 +0200
commit311e508154e7fa5a114ca46c8daed4d43d96b938 (patch)
treeea156b93306daafc50125cba5eee69d7038ad1b5 /src/gui/platform/unix/qgenericunixservices.cpp
parent7d99fa8e5bf036f97d8ef41780f6e401b32f47ef (diff)
jpeg handler: store Grayscale16 format images as grayscale, not rgb
No point in storing multiple channels when we have single channel data. And as jpeg anyway has only 8 bpc, information loss is unavoidable, so just convert to Grayscale8 and store as that. Fixes: QTBUG-107810 Change-Id: Ib62038acf07d4b875b8416825fb0095510c14b5b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qgenericunixservices.cpp')
0 files changed, 0 insertions, 0 deletions