diff options
| author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2017-02-23 09:39:07 +0100 |
|---|---|---|
| committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2017-03-02 07:59:50 +0000 |
| commit | c4c8886a864d1058c3441a96556aa8b124b4f17f (patch) | |
| tree | 8d1ba0d2c4bd8c8169325afc681cfc99a271bed0 /src/network/doc/snippets/code | |
| parent | 593a707ba35c22c0a1061dce745deceed8837f80 (diff) | |
ppm/pgm image formats: fix reading 16bit and limited range
The color values of ppm and pgm images can be either 8 or 16 bits.
They can also be scaled to a smaller max value, and they can be
expressed either binary or ascii. For some of these permutations, Qt's
image handler lacked implementation or would decode the wrong color
value. This commit fixes that.
Task-number: QTBUG-18262
Task-number: QTBUG-35990
Change-Id: I7cf11c2366244f3a9b31c1a565a81e2658bc6a51
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/network/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
