Bitmap storage
A bitmap image typically uses more storage for an image than a vector image does, because it’s storing each individual pixel.
Calculating the storage used by a bitmap image
Section titled “Calculating the storage used by a bitmap image”If we ignore its metadata, then we can calculate the storaged (number of bits) used by a bitmap using:
Or, if we know the resolution - the number of pixels: