Sometimes it´s important to be able to restore the original material when descompressing a file. You can use lossless compression for this.
One way is to put words or other data into a dictionary with a code. Instead of storing thw word many times, you store the code instead.
There are various algorithms for compressing without loss. Well-known examples are...
- LZW ( Lempel-Ziv-Welch) algorithm
- ZIP files.
Such a good blog!!
ResponderEliminar