Categories
geek tech

What is data compression?


As Linus explains it: is cramming a ton of info into a tiny file. The more homogeneous the data in a file is the more can it be compressed.

Let’s take the example of an image. If it is only white, then the compressed file will say something like this: put a white pixel in these positions [then the range]. The same happens with a jpeg image: you simply tell the computer to build the image pixel by pixel like this: on pixel (x,y) insert a color (rgb color). Neat, huh?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.