File compression is the method of lowering the dimensions of a file with out dropping any of its info. This may be achieved utilizing quite a lot of strategies, together with lossless compression, which preserves the entire authentic knowledge, and lossy compression, which removes among the knowledge with a purpose to obtain a smaller file measurement.
There are numerous explanation why you would possibly wish to compress a file. For instance, you would possibly wish to save house in your arduous drive, make it simpler to ship a file by way of electronic mail, or scale back the period of time it takes to obtain a file.