JPE is the graphic format of the raster image category. It was developed by the standards committee of the Joint Photographic Experts Group. It is a 24-bit compressed graphics format. Typically, it is used for web resources. In most cases, it is used for photographs or images in which there are many colors. Also well suited for many digital cameras to store digital photos. Images that have this extension use lossy compression. And because the quality of individual photos is getting worse. The greater the compression, the less quality the image becomes. The purpose of JPE files is to compress photorealistic images with small color losses. Provides the ability to achieve high compression ratios. We emphasize that usually the maximum compression of graphic information leads to some loss of information. That is, the compression algorithm changes the original data so that the image that is obtained after restoration will be different from the original image, that is, compressed. This compression method is used to work with full-color images that have high photographic quality. During compression, the Discrete-Cosine Transform (DCT), Huffman’s Code quantization and coding are used.
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.