JABIR E wrote:
size of B should be 60*32/8
No, it shouldn't. It should be 54+60*4*32, which it is. Each pixel uses four bytes, not a single bit. The bmp file format is not a raw data file, it is an image file format that has a header (in this case 54 bytes), followed by the image data.
--- single minded; short sighted; long gone;