次の方法で共有


2.2.2.2 BitmapCoreHeader Object

The BitmapCoreHeader Object contains information about the dimensions and color format of a device-independent bitmap (DIB).<43>


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

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).