WEBP file format
Google developed the WEBP image format in 2010. According to their claim, this format can save files up to 34% smaller than the JPEG or PNG files. It allows saving images in both lossy and lossless compression. Yet, it is not supported by all image viewers.
Lossy compression in this format is obtained by prediction. In this compression, an image is divided into some blocks, and predictions are made depending on the surrounding blocks' pixels. Here the difference between the main image and the forecast is recorded by encryption. The prediction is good enough to ensure no difference according to the actual image. It reduces the file size. Lossless compression is gained by the pieces of the image previously examined to Build the rest of the picture.