Computes the total pixel-data size for a BITMAPINFOHEADER, in bytes.
The result is rowStride(width, bpp) * |height| — the absolute value of
height is used so top-down (height < 0) and bottom-up images yield the
same buffer size.
Examples
Pixel-data size for 2×2 24bpp and a top-down 2×2 32bpp image