BMP is a graphic format that allows you to store bitmaps as a bitmap based on single-layer rasters. It was developed by Microsoft. She also implemented it in the Windows operating system. The BMP format (English Bitmap Picture) is used in the work of many programs, since its support is integrated into Windows and OS / 2. Files of this format can have the extensions .bmp, .dib or .rle. The BMP graphics format has often changed. From the very beginning, the image structure was built by combining small squares, that is, pixels, each of which is capable of containing data about what color depth is. It happens to be 1, 2, 4, 8, 16, 24, 32, 48 bits per pixel. The size of the final image depends on the bitness. The BMP file format still looks like a monster, since it has large sizes. After all, the image is uncompressed, which can not be said, for example, about the JPG format. Any Windows operating system has the means to open such images. The main editing tool has always been Paint - the native Microsoft program that is in every version of Windows. In BMP, images are stored in their original form, but compression algorithms can also be used. Let's say BMP provides quality support for RLE compression.
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.