A Review of lossless and lossy image compression techniques