Updated to support BITMAPV4HEADER along with original BITMAPINFOHEADER