PEF is a highly specialized raster image format. Created by the manufacturer of Pentax cameras for storing digital images taken by these devices. The name is an abbreviation for Pentax Electronic File. PEF files are digital photographs (RAW) without any compression, color editing or distortion. Data taken directly from the Pentax camera sensor. This format is also used by some Samsung cameras. At the same time, PEF format files are not compatible with image viewers, they cannot be printed and edited in graphic editors, they are not available for posting online. All this is possible only when converting to another format.
WebP is an open-source format for image files, raster images. Created in 2010 by Google for web graphics in order to quickly upload images to web pages. This is the main advantage of WebP files. Compression of images in this format can go with or without loss, depending on what level of quality you want to achieve. Thus, lossless compression is 26% better than in PNG files. If quality loss is acceptable, then compression in WebP format is 25-34% better than in JPEG files. Full support for WebP is not yet available on Firefox, Internet Explorer, and Safari.