Entradas

Mostrando entradas de noviembre, 2021

compression

Its called compression when you reduce the number of bits by counting the number of them together and is based on redundancy. Its commonly used in hexadecimal code, but I will use binary now to explain it betterExample: 111111000001010000000010100 -> (27 bits) uncompressed (6,1) (5,0) (1,1)(1,0)(1,1)(8,0)(1,1)(1,0)(1,1)(2,0)-> (20 bits) compressed There are two types of compression: Its called lossless compression when the compressed file is exactly the same as the original one.  On the other hand we have statistic compression, when you make little changes conveniently to compress it even more. Quality is lost in this proccess. This change is not perceptible in images and sounds, but can't be done in other situations. Example: 1111111110111111100000000 -> (9,1)(1,0)(7,1)(8,0) 111111111 1 111111100000000 -> (17,1)(8,0)