diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-12 16:38:40 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-19 10:08:41 +0000 |
commit | ee3ac3a3bfb4c4a0802f6530f61995297c573646 (patch) | |
tree | e581e20e1c2949a1b7fb1b6d46db2b824152208d /tests/auto/gui/util | |
parent | 288bfb0bbd778fdfa6ac9fdcdc1afc19ec13aeaf (diff) |
Fix PNGs saved from QImage transform of 8-bit images
Fixes two separate errors. QImage::transform was incorrectly adding
colors to the color-table of the returned image when the converted image
would not be indexed, and qpnghandler was looking at non-empty color-
table instead of color format.
Task-number: QTBUG-43708
Change-Id: Ife14b6428ca65ac7d3a0b36a89a73e56d64586b4
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'tests/auto/gui/util')
0 files changed, 0 insertions, 0 deletions