How to interpret the pixel array in a 1 bpp BMP file

Viewed 1724

I can't find a way to explain the pixel array in the following situation: I created a BMP image 2x2 pixels with MS Paint on Windows 7. Saved it as monochrome BMP (which I think means BMP with color depth 1 bit per pixel)

This is how the image looks like when zoomed it (black pixel, white pixel, white pixel, black pixel) enter image description here

Then I open the bmp with a hex editor and I can see the following info:

00: 424d 4600 0000 0000 0000 3e00 0000 2800  BMF.......>...(.
10: 0000 0200 0000 0200 0000 0100 0100 0000  ................
20: 0000 0800 0000 0000 0000 0000 0000 0000  ................
30: 0000 0000 0000 0000 0000 3f3f 3f00 3f00  ..........???.?.
40: 0000 4000 0000 0a                        ..@....

As far as I read in the Wikipedia article about the BMP format (https://en.wikipedia.org/wiki/BMP_file_format) this part is the pixel array:

3f00 0000 4000 0000

What is the meaning of the values in the pixel array? Does the 3F value has a special meaning?

1 Answers
Related