Data compression is the technique of converting an input data stream or the original data into another data stream which is shorter in length. There are many known methods for data compression. They are based on different ideas and are suitable for different types of data. But they all have the same principle that they compress data by removing the redundancy in the original data. Otherwise data compression can be looked up on as a change in representation from inefficient to efficient form.