What's the easiest way to tell the number of bits per pixel in a bitmap, e.g. a Windows .bmp file?
Look at the header of the file.