Re: More on reading .BMPs

Search this archive.

From: Brian Raiter (breadbox@muppetlabs.com)
Date: Sat 05 Jan 2002 - 22:21:29 IST


>> Maybe it is possible, but I dont think this would be a good idea,
>> because BMPs are bitmaps with a palette with indexed colors, and a
>> big array would be needed to hold a palette with thousands or
>> millions of colors ?.
> 
> Isn't it true, though, that 24-bit .BMPs don't have the palette array
> because they simply use three bytes to describe the RGB values of every
> pixel? I thought only 8-bit .BMPs had palettes, ala .GIFs.

Not quite true -- 1-bit, 2-bit, and 4-bit bitmaps also have a palette
array, or color table. But of course you are correct in that 24-bit
bitmaps never do.

b

------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:24 IST