Doubt when reading image .bmp

0

I am creating a small C script to extract the pixel matrix of a (very simple) .bmp image of two colors (1 bit / pixel). However, when reading the Header information, it turns out that the "size" and the "width x height" product do not match:

width x height = 7838784 bits

size = 982080 bytes = 7856640 bits

I can not understand this discrepancy, am I overlooking some essential aspect of the format?

    
asked by Guillermo. D. S. 22.04.2018 в 12:36
source

0 answers