- Suppose I have 1 mega pixel sensor, it means I have 1*10^6 (1 mega) pixels.
- If and only if each pixel represent the density of his color in 8 bit depth, so 8 bit = 1 byte, means each pixel is 1 byte
- Then we have number_of_pixels*byte = 1*10^6*byte = 1 Mega Byte of data.
So why when most of the sensors are far beyond 8 bit depth, we still have image files with size very close to the number of mega pixels we have on the camera?