diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-04-22 14:27:44 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-04-22 14:36:19 (GMT) |
commit | fd9cdaa55da455b90eacec571aeb2c84fa55f7e0 (patch) | |
tree | 774050472bc3096e4f2eec782f897da57bad85c8 /tests/auto/qimagereader/baseline | |
parent | a8d14ae567c7e847c6dbba644c36fbc6c6afc468 (diff) | |
download | Qt-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.ico | bin | 0 -> 4286 bytes |
-rw-r--r-- | tests/auto/qimagereader/baseline/kde_favicon.ico | bin | 0 -> 1150 bytes |
-rw-r--r-- | tests/auto/qimagereader/baseline/semitransparent.ico | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..59fd37e --- /dev/null +++ b/tests/auto/qimagereader/baseline/35floppy.ico diff --git a/tests/auto/qimagereader/baseline/kde_favicon.ico b/tests/auto/qimagereader/baseline/kde_favicon.ico Binary files differnew file mode 100644 index 0000000..15bcdbb --- /dev/null +++ b/tests/auto/qimagereader/baseline/kde_favicon.ico diff --git a/tests/auto/qimagereader/baseline/semitransparent.ico b/tests/auto/qimagereader/baseline/semitransparent.ico Binary files differnew file mode 100644 index 0000000..dd23de9 --- /dev/null +++ b/tests/auto/qimagereader/baseline/semitransparent.ico |