diff options
| author | Wladimir Leuschner <wladimir.leuschner@qt.io> | 2025-11-21 15:29:54 +0100 |
|---|---|---|
| committer | Wladimir Leuschner <wladimir.leuschner@qt.io> | 2025-11-26 19:19:38 +0100 |
| commit | a5c14bba2b8eaae646b0a160dae1a6a7b7171769 (patch) | |
| tree | eb7053c719a0912a1c9038b50df1b5ee3f70a3eb /src/plugins/platforms/wayland/qwaylandviewport_p.h | |
| parent | b970c05986c011a8f19cb7b30ced262ba4477cfb (diff) | |
Currently 16Bit PGM images are truncated to 8Bit data, which loses
precision. This patch checks if the ppm data is 16Bit and stores the
image data into a QImage with format QImage::Format_Grayscale16
Fixes: QTBUG-141995
Change-Id: Icfa0c4f59982c414195f64bf1f4a768b26f414a6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandviewport_p.h')
0 files changed, 0 insertions, 0 deletions
