qt5base-lts/tests/auto/gui/image/qicoimageformat
Eirik Aavitsland 5316befba2 ICO image format: fix regression in writing when size >= 256
In commit c6c9304, the earlier size limit of 128 was raised to the
format's defined maximum of 256. But the required special storage of
this size in the image structures was not implemented. Hence,
attempting to store such big icons would result in invalid image
files.

Fix the size storing details, and add some autotests of ico format
writing since that was practically uncovered.

Task-number: QTBUG-53259
Change-Id: I00e17a04e90c32dcf1124ba5adaf53728fb74dc7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2016-05-13 04:37:15 +00:00
..
icons Make the ICO image handler capable of reading CUR files too. 2014-06-05 19:10:58 +02:00
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qicoimageformat.pro fix usage of wince scope 2015-06-05 10:29:10 +00:00
qicoimageformat.qrc Android: Fix qicoimageformat test. 2014-12-22 08:34:05 +01:00
tst_qicoimageformat.cpp ICO image format: fix regression in writing when size >= 256 2016-05-13 04:37:15 +00:00