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.
PNG is one of the popular formats in web graphics. It was proposed in 1995 at the Usenet conference as a free alternative to licensed GIF. Since October 1, 1996, it exists as a full-fledged graphic format supported by all browsers and graphic editors.PNG is one of the most popular formats due to its good compression without loss of quality, fast loading, transparency function, clear image borders. In practice, .png is ideal for saving images with a small number of colors, as well as graphics with transparent areas. Logos, icons, badges, diagrams, scanned copies of documents are usually placed on sites just in .png format