libUEMF
A portable library for reading and writing WMF, EMF and EMF+ files
|
#include <uwmf.h>
Data Fields | |
int16_t | Type |
"bitmap type" MS PDF does not define this field beyond this. | |
int16_t | Width |
bitmap width in pixels. | |
int16_t | Height |
bitmap height in scan lines. | |
int16_t | WidthBytes |
bytes per scan line. | |
uint8_t | Planes |
must be 1. | |
uint8_t | BitsPixel |
number of adjacent color bits on each plane (R bits + G bits + B bits ????) | |
Bitmap16 Object WMF manual 2.2.2.1
The U_BITMAP16 core is always followed by uint8_t Bits[1]; //!< bitmap pixel data. Bytes contained = (((Width * BitsPixel + 15) >> 4) << 1) * Height Note that in U_WMRCREATEPATTERNBRUSH Bits is always [4].