Calculation for Image Files
(Resolution) x (Colour Depth)
e.g. Image with 500 width and 500 height and 24 bits colour depth
Resolution = 500 x 500 = 250000
250000 x 24 = 6000000 bits
bits to bytes = 6000000 divided by 8 = 750,000 bytes
bytes to Kilobytes 750,000 bytes divided by 1000 = 750 Kilobytes