File compression: what is that? [computers]

File compression is a process of identifying the patterns in a file and then copying the part that is repeated at the start of the file and then inserting positions where the given part should show up. It is easier with text files to do this, but way harder with images or photos.

Compression of images is done in the same way, but it cannot compress an image too much. Because of this the researchers used a compression format called jpeg, a format that allows the compression process to lose information along the way (this is why jpeg is also called a lossy compression), but still be able to show a good picture after decompressing that.

Well done, guys. Compression is truly a thing that makes the web and our lives way faster.

No comments yet... Be the first to leave a reply!