JPEG compression is a widely used technique for reducing the file size of digital images without significantly sacrificing visual quality. It works by scrutinizing the image and identifying areas that can be reduced effectively. The JPEG algorithm utilizes a mixture of methods, including irreversible compression and tone quantization, to achieve it