commit | 68d89dca8f8991b6fd2a2b8933b7c3237a77004a | [log] [tgz] |
---|---|---|
author | Hans-Christian Egtvedt <hcegtvedt@atmel.com> | Fri Nov 30 17:29:59 2007 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Wed Jan 09 14:55:18 2008 +0100 |
tree | ddbd6d92a2de97b504c56b1d5a14c68f73f482f3 | |
parent | 975910784e901e02f6685e5ddd756dd2b6bc8fd5 [diff] |
cmd_bmp: Add support for displaying gzip compressed bmps The existing code can show information about a gzip compressed BMP image, but can't actually display it. Therefore, move the decompression code out of bmp_info() and use it in bmp_display() as well in order to display a compressed BMP image. Also, clean things up a bit and fix a memory leak while we're at it. [hskinnemoen@atmel.com: a bit of refactoring] Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>