
24 Bit BMP File Structure
Quote:
> >> Help,
> >> I am having a problem finding details of the BMP 24bit File structure.
> >> Can Anyone Help ??
> > If you know the 8-bit bmp file structure the 24-bit is the same
> >except that the bitsperpixel field is 24, there's no colortable included,
> >and each pixel is represented by 3 bytes, for the R, B, and G values
> >(I don't remember what order they come in).
> RGB.
> And remember, all the reds are together (for a given line), then the greens,
> then the blues -- in the attempt to exploit RLE.
Really - I didn't know that! Or are you talking about just
24bit *.rle's? My (delphi\)winapi.hlp says "... and each 3-byte
sequence in the bitmap array represents the relative intensities of
red, green, and blue, respectively, for a pixel."
I've never tried this (a Delphi T24BitBitmap is close to the
top of my to-do list) so you may be right - if you were only talking
about RLE's we could both be right.
Dave Ullrich