How is it that two different images, but same resolution, can have different storage size?

758 views

How is it that two different images, but same resolution, can have different storage size?

In: Technology

5 Answers

Anonymous 0 Comments

Compression.

If an image is for instance pure white, you don’t need a huge file that goes:

pixel 1: white
pixel 2: white

pixel 1000000: white

You just write an image that effectively says:

pixels 1 to 1000000: white

In practice, compression gets a good deal more complicated than that, but that’s the basic principle. And of course it varies depends on content. For instance with the above scheme if each pixel was a different color, the compression would be ineffective.

You are viewing 1 out of 5 answers, click here to view all answers.