2.2.2.2 BitmapCoreHeader Object
The BitmapCoreHeader Object contains information about the dimensions and color format of a device-independent bitmap (DIB).<43>
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HeaderSize |
|||||||||||||||||||||||||||||||
Width |
Height |
||||||||||||||||||||||||||||||
Planes |
BitCount |
HeaderSize (4 bytes): A 32-bit unsigned integer that defines the size of this object, in bytes.
Width (2 bytes): A 16-bit unsigned integer that defines the width of the DIB, in pixels.
Height (2 bytes): A 16-bit unsigned integer that defines the height of the DIB, in pixels.
Planes (2 bytes): A 16-bit unsigned integer that defines the number of planes for the target device. This value MUST be 0x0001.
BitCount (2 bytes): A 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB. This value MUST be in the BitCount Enumeration (section 2.1.1.3).
A DIB is specified by a DeviceIndependentBitmap Object (section 2.2.2.9).