Re: working with bitmaps in C
- From: Ernie Wright <erniew@xxxxxxxxxxx>
- Date: Fri, 28 Dec 2007 02:01:12 -0500
Flash Gordon wrote:
Malcolm McLean wrote, On 27/12/07 17:16:"Ernie Wright" <erniew@xxxxxxxxxxx> wrote
The specification claims that 4-bit old-style BMP has a 16-color
palette. It's been so long since I've encountered one of these
that I wouldn't know where to look for one now. Unless you know of
users that actually have to deal with these (they haven't been
written by Microsoft code since Windows 2.x), I'd be tempted to
strip all of that cruft out of your loader.
The version of Paint in Windows Vista claims to be able to save a 16 colour bitmap. I've no idea if the format is the same, but I see no reason why it would not be.
It's not. Old-style BMP, what Malcolm's code calls "core" BMP, is an
obsolete form of BMP with a different header. This older form was used
by Windows 1.x and 2.x and OS/2 1.x.
- Ernie http://home.comcast.net/~erniew
.
- References:
- working with bitmaps in C
- From: Stephen . Schoenberger
- Re: working with bitmaps in C
- From: Malcolm McLean
- Re: working with bitmaps in C
- From: Ernie Wright
- Re: working with bitmaps in C
- From: Malcolm McLean
- Re: working with bitmaps in C
- From: Ernie Wright
- Re: working with bitmaps in C
- From: Malcolm McLean
- Re: working with bitmaps in C
- From: Flash Gordon
- working with bitmaps in C
- Prev by Date: Re: Programming in standard c
- Next by Date: Re: Is a[i] = i++ correct?
- Previous by thread: Re: working with bitmaps in C
- Next by thread: Re: working with bitmaps in C
- Index(es):