public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Creating a valid bmp file
Date: Mon, 05 Nov 2007 17:15:23 -0500	[thread overview]
Message-ID: <472F95FB.4070704@ge.com> (raw)
In-Reply-To: <OF870B63B5.7D50724B-ON8525738A.00768F45-8525738A.00770EE3@orbital.com>

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 <dzu@denx.de> 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

  reply	other threads:[~2007-11-05 22:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-25 21:19 [U-Boot-Users] Creating a valid bmp file Roger Williamson
2007-10-25 23:38 ` Detlev Zundel
2007-11-05 21:40   ` Roger Williamson
2007-11-05 22:15     ` Jerry Van Baren [this message]
2007-11-06  6:37     ` Wolfgang Denk
2007-11-06 12:37       ` Jerry Van Baren
2007-11-06 12:08     ` Clemens Koller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472F95FB.4070704@ge.com \
    --to=gerald.vanbaren@ge.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox