private int MaskImageSize(BITMAPINFOHEADER bmInfoHeader) { return ((bmInfoHeader.biHeight / 2) * this.WidthBytes(bmInfoHeader.biWidth)); }