Lossy And Lossless Image Compression