Reputation: 153
Why the size of every 1024 X 768 image (or any two or more images of same resolution) is not fixed ? while they've same number of pixels ?
Upvotes: 0
Views: 745
Reputation: 26107
Because most image formats compress the image, so that its size depends on its content. Also, there are many options to most image formats, so even if they are uncompressed, a different image writer may produce a different file size for the same image.
Raw image formats (say for high-end digital cameras) are usually uncompressed; you might expect that raw-formatted images from the same camera at the same resolution setting would all have the same size.
Upvotes: 1