#include "Gdiplus.h" BITMAPINFOHEADER createBitmapHeader(int width, int height) { BITMAPINFOHEADER bi; // create a bitmap bi.biSize = sizeof