Extract the exact BMP header size by reading the little-endian 32-bit integer at bytes 10-13 to locate the pixel data offset.