Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C - C++ Learning > BMP
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4260 of 4370
Post > Topic >>

BMP

by vicky <vikrant.pandey@[EMAIL PROTECTED] > Sep 1, 2008 at 10:58 AM

I've a code in which the structure of Bitmap is given as ----

          typedef struct
          {
                 U8 uFlags;          // combination of flags above
                 U8 uBitsPix;        // 1, 2, 4, 8, 16, or 24
                 U16  wWidth;          // in pixels
                 U16  wHeight;         // in pixels
                 U16 dTransColor;     // transparent color for > 8bpp
bitmaps
                 U8  *pStart;  // bitmap data pointer

          }GfxBitmap;

an example for this structure is...

GfxBitmap gbHighlightOptionBitmap = { 0x11, 8, 250, 38, 0x00000000,
(UCHAR *) ucHighlightOptionBitmap };

now my query is that if this is a complete header for bmp file then
what about the header for window which is above 50 bytes

Can u also give over view of this structure ...as what is uFlag and
dTransColor ...


Actually i also  confused by the way
the bitmap image is stored in frame buffer
as by thaking of CLUT8
and  else of only raw data
 




 2 Posts in Topic:
BMP
vicky <vikrant.pandey@  2008-09-01 10:58:12 
Re: BMP
Ian Collins <ian-news@  2008-09-02 10:24:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 13:07:34 CST 2008.