File compression is the method of decreasing the scale of a file with out dropping any of its data. This may be finished utilizing a wide range of strategies, together with lossless compression, which preserves the entire unique information, and lossy compression, which removes among the information so as to obtain a smaller file measurement.
There are a lot of the explanation why you may wish to compress a file. For instance, you may wish to save area in your onerous 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.