please dont rip this site Prev Next

BITMAPCOREHEADER info  Overview  Group

The BITMAPCOREHEADER structure contains information about the dimensions and color format of a device-independent bitmap (DIB).

typedef struct tagBITMAPCOREHEADER { // bmch 

        DWORD   bcSize; 

        WORD    bcWidth; 

        WORD    bcHeight; 

        WORD    bcPlanes; 

        WORD    bcBitCount; 

} BITMAPCOREHEADER; 

 

Members

bcSize
Specifies the number of bytes required by the structure.
bcWidth
Specifies the width of the bitmap, in pixels.
bcHeight
Specifies the height of the bitmap, in pixels.
bcPlanes
Specifies the number of planes for the target device. This value must be 1.
bcBitCount
Specifies the number of bits per pixel. This value must be 1, 4, 8, or 24.

Remarks

The BITMAPCOREINFO structure combines the BITMAPCOREHEADER structure and a color table to provide a complete definition of the dimensions and colors of a DIB. For more information about specifying a device-independent bitmap, see BITMAPCOREINFO structure.

An application should use the information stored in the bcSize member to locate the color table in a BITMAPCOREINFO structure, using a method such as the following:

pColor = ((LPBYTE) pBitmapCoreInfo + 

        (WORD) (pBitmapCoreInfo -> bcSize)) 

 

 

See:


file: /Techref/os/win/api/win32/struc/src/str00_33.htm, 2KB, , updated: 2001/6/26 10:23, local time: 2024/11/8 17:30,
TOP NEW HELP FIND: 
18.224.73.124:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/Techref/os/win/api/win32/struc/src/str00_33.htm"> BITMAPCOREHEADER</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?