If you have ever worked with digital images, you must have encountered the term "compression of images." But what exactly…