bos.write4Bytes(height / 2);
bos.write2Bytes(planes);
bos.write2Bytes(bitCount);
bos.write4Bytes(compression);
bos.write4Bytes(sizeImage);
bos.write4Bytes(xPelsPerMeter);
bos.write4Bytes(yPelsPerMeter);
bos.write4Bytes(colorsUsed);
bos.write4Bytes(colorsImportant);
bos.write4Bytes(redMask);
bos.write4Bytes(greenMask);