I have a uncompressed bmp file. The resolution of this file is 800x800 and 24 bit.
So, my file size should be (800x800x24)/8 = 1.920.000 + (54 byte for header file)
That is ok and I have this file now.
I have now grey scale image whose size is 400x400. It is 8 bit.
File size should be (400x400x8)/8 = 160.000 +(header file)
But now, it is 161.078. Why there is so much difference? Is it header file? I dont think so.
Moreover, when I convert this 8 bit file to 24 bit, I got the same result(1.920.054) as previous calculation. What is the reason of this 1078 byte extra?