Image Transformation and Compression using Fourier Transformation