File compression is the method of decreasing the scale of a file with out dropping any of its data. This may be achieved utilizing quite a lot of strategies, together with lossless compression, which preserves all the unique knowledge, and lossy compression, which removes a few of the knowledge with the intention to obtain a smaller file measurement.
There are numerous explanation why you would possibly need to compress a file. For instance, you would possibly need to save house in your exhausting drive, make it simpler to ship a file by way of e mail, or scale back the period of time it takes to obtain a file.