summaryrefslogtreecommitdiffstats
path: root/tests/auto/qimagereader/baseline
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-04-22 14:27:44 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-04-22 14:36:19 (GMT)
commitfd9cdaa55da455b90eacec571aeb2c84fa55f7e0 (patch)
tree774050472bc3096e4f2eec782f897da57bad85c8 /tests/auto/qimagereader/baseline
parenta8d14ae567c7e847c6dbba644c36fbc6c6afc468 (diff)
downloadQt-fd9cdaa55da455b90eacec571aeb2c84fa55f7e0.zip
Qt-fd9cdaa55da455b90eacec571aeb2c84fa55f7e0.tar.gz
Qt-fd9cdaa55da455b90eacec571aeb2c84fa55f7e0.tar.bz2
Improve the icon parsing for files with a slightly wrong BMP header.
The reason it failed was that we always expected the height property of the BMP header to be double the height of the icon. The kde_favicon.ico did not fulfill this requirement. We can fix that by simply reading from the ICONDIR entry instead, since that has always the correct height. Task-number: 229829 Reviewed-by: alexis
Diffstat (limited to 'tests/auto/qimagereader/baseline')
-rw-r--r--tests/auto/qimagereader/baseline/35floppy.icobin0 -> 4286 bytes
-rw-r--r--tests/auto/qimagereader/baseline/kde_favicon.icobin0 -> 1150 bytes
-rw-r--r--tests/auto/qimagereader/baseline/semitransparent.icobin0 -> 9662 bytes
3 files changed, 0 insertions, 0 deletions
diff --git a/tests/auto/qimagereader/baseline/35floppy.ico b/tests/auto/qimagereader/baseline/35floppy.ico
new file mode 100644
index 0000000..59fd37e
--- /dev/null
+++ b/tests/auto/qimagereader/baseline/35floppy.ico
Binary files differ
diff --git a/tests/auto/qimagereader/baseline/kde_favicon.ico b/tests/auto/qimagereader/baseline/kde_favicon.ico
new file mode 100644
index 0000000..15bcdbb
--- /dev/null
+++ b/tests/auto/qimagereader/baseline/kde_favicon.ico
Binary files differ
diff --git a/tests/auto/qimagereader/baseline/semitransparent.ico b/tests/auto/qimagereader/baseline/semitransparent.ico
new file mode 100644
index 0000000..dd23de9
--- /dev/null
+++ b/tests/auto/qimagereader/baseline/semitransparent.ico
Binary files differ