Low Complexity Algorithm for Interpolation as well as Lossless Compression of Natural Images