burkphoto wrote:
Many folks confuse Megapixels (MP) with Megabytes (MB). IMAGE size in megapixels does not always relate to FILE size in megabytes.
Megapixels is a measure of resolution calculated by taking the dimensions of the image in pixels and multiplying them together. For instance, a 6000 x 4000 pixel image is 24MP (24,000,000 pixels).
Megabytes is a measure of the file size *on disc*. It varies with bit depth and file compression scheme in addition to image size in MP. An 8-bits per color channel TIFF FILE will be a lot smaller than a 16-bits per color channel TIFF FILE! (Sometimes that is expressed as 24-bits per pixel vs 48-bits per pixel.) A 14-bit camera raw file is smaller than a 16-bits per color channel TIFF file developed from it. The 8-bit version of the TIFF file will be much smaller, and an 8-bit JPEG file will be smaller, still! But in all cases, the image DIMENSIONS are the same.
JPEG is a lossy, compressed file format. The Joint Photographic Experts Group (JPEG) File Information Format was created to save network bandwidth and file storage space. It describes a compression scheme that is variable.
The higher the compression ratio, the lower the image quality, because it works by representing portions of the image with a mathematical formula. The formula takes similar adjacent pixel values from one line of a bitmap image, makes them all the same, and then stores that value and a location code. On decompression/decoding, the compressed file is turned back into a bitmap image grid that replaces the original values with the same value for all similar values in a portion of the line. The higher the compression, the more dissimilar values are represented by the same value. So images with lots of detail will compress LESS, because they have to use more storage space to describe all the detail.
If you save a raw file and develop it as an uncompressed bitmap or uncompressed TIFF file, the file will be much larger, because it will contain actual values for every single processed pixel.
Many folks confuse Megapixels (MP) with Megabytes ... (
show quote)