WebP is an image file format introduced by Google in 2010 with the aim of exploring the leading positions of JPG and PNG formats for storing and transmitting digital images. The web browser has become better in the JPEG and PNG format, but the files in the format are smaller. WebP images are not compatible with some browsers and image viewers. Often, analysts describe this format as "incomplete" i.e. format that needs to be finalized. But still, WebP is an extremely useful format, because it provides both performance and great features. Unlike other formats, WebP supports lossy and non-lossy compression, as well as translucency and animation.
JPG is one of the most recognizable, popular, and comprehensible bitmap image formats.This format appeared as a result of the work of the group of photo experts “Joint Photographic Experts Group”. The main task of this group of developers was to develop an optimal image compression algorithm. Today, this problem has been solved successfully. It is used .jpg most often for processing and storing full-color images with realistic images, where brightness and color transitions are inherently present. Also .jpg format is used for storing and transmitting graphic digital content (photos, scan copies, digitized pictures). It is most convenient for placing and transmitting compressed images over the network, because it takes up little space compared to other formats.