public static uint GDI__DIBSIZE(BITMAPINFOHEADER bi) => GDI_DIBWIDTHBYTES(bi) * (uint)bi.biHeight;
public static uint GDI_DIBSIZE(BITMAPINFOHEADER bi) => bi.biHeight < 0 ? unchecked ((uint)-1) * GDI__DIBSIZE(bi) : GDI__DIBSIZE(bi);
public static uint GDI_DIBWIDTHBYTES(BITMAPINFOHEADER bi) => GDI_WIDTHBYTES((uint)bi.biWidth * bi.biBitCount);