The uncorrected bit in the PIXEL BITS refers to the first entry in the color table (0,0,0), black, and the set bit refers to the second entry in the color table (ff, ff, ff), white.
"The 1 bit per pixel (1bpp) format supports 2 different colors (for example, black and white, or yellow and pink). The pixel values ββare stored in each bit, with the first (leftmost) pixel in the most significant bit of the first byte. Each bit is an index into a two-color table. This color table is in 32bpp 8.8.8.0.8 RGBAX format. The configured bit will refer to the first record of the color table, and the set bit will refer to the last (second) record of the color table. " - BMP file format
source share