From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Mon, 05 Nov 2007 17:15:23 -0500 Subject: [U-Boot-Users] Creating a valid bmp file In-Reply-To: References: Message-ID: <472F95FB.4070704@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Roger Williamson wrote: > Hello again Detlev, > > A small question before I get to the rest of my response: how much > has the bmp handling changed over the past 2 years? > > Detlev Zundel wrote on 10/25/2007 07:38:13 PM: > >> Hi Roger, [snip] >> I cannot say what you are missing, but you probably can check for >> yourself. The first check the bitmap code does is to see whether it >> can find 'B' and 'M' as the first two bytes of the image. That's the >> magic number for bmp files[1]. > > All of the files I've tried do have the tel-tale "BM" as the first > two characters, I'm glad that I'm not totally off with respect to the files > that I've tried to load. > >> Given the error message you get, you probably do not use the "Windows >> Bitmap (BMP)" file format. Also be aware that currently only 1 or 8 >> bit per pixel formats are supported. > > Hmm... Do you or any of the U-booters know any programs for Windows, > or that'll run under cygwin that will produce OS independed bitmaps? You mean like Microsoft Paint? See Detlev's hint (above) about saving in 1 bit per pixel (monochrome) or 8 bits per pixel (256 color) formats. >> Cheers >> Detlev >> >> [1] http://en.wikipedia.org/wiki/Windows_bitmap > > You've been quite helpful so far. > > Thank you, > Roger. > > > NOTE: just disregard the legalese attached to this message, if you are > reading this... odds are you should be reading this. In the Hitchhiker's Guide to the Galaxy says that, when the revolution comes, the lawyer wannabes that write email disclaimer drivel will be the first to be lined up against the wall... gvb