diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-11-11 22:03:29 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-11-11 22:03:29 +0000 |
commit | caec07be65b2e7197b539784c4fcd52ef4d4ba24 (patch) | |
tree | bf1ebd449c71ab4b362c5a7183ab3cba5c707b79 /firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c | |
parent | f1ee740f2b48c8a2da5fa1d33e033a9067fe3843 (diff) | |
download | rockbox-caec07be65b2e7197b539784c4fcd52ef4d4ba24.tar.gz rockbox-caec07be65b2e7197b539784c4fcd52ef4d4ba24.zip |
Handle 32bit bitmaps with all-zero alpha channel as fully opaque.
This is what gimp does when opening such a file.
Tt saves the alpha channel with all-0xff, but other programs might use 0x00.
As a fully transparent image doesn't make sense this should be OK.
Also split the 32bit and 24bit case in the bmp reader, they're sufficiently different.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30968 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c')
0 files changed, 0 insertions, 0 deletions