2.2.2.3 EmfPlusBitmapData Object

The EmfPlusBitmapData object specifies a bitmap image with pixel data.


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

Colors (variable)

...

PixelData (variable)

...

Colors (variable): An optional EmfPlusPalette object (section 2.2.2.28), which specifies the palette of colors used in the pixel data. This field MUST be present if the I flag is set in the PixelFormat field of the EmfPlusBitmap object (section 2.2.2.2).

PixelData (variable): An array of bytes that specify the pixel data. The size and format of this data can be computed from fields in the EmfPlusBitmap object, including the pixel format from the PixelFormat enumeration (section 2.1.1.24).

Bitmaps are specified by EmfPlusBitmap objects. An EmfPlusBitmapData object MUST be present in the BitmapData field of an EmfPlusBitmap object if BitmapDataTypePixel is specified in its Type field.

See section 2.2.2 for the specification of additional structure objects.