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.
PNM is a raster image category format. This is a bitmap bitmap created in Portable Any Map format. As you know, this format was intended from the very beginning to process some types of portable monochrome black and white images (PBM), color images (PPM) and grayscale images with shades of gray (PGM). Allows the inclusion of raster graphics data in the .PBM, .PGM or .PPM format. Such formats can provide an intermediate representation of data during the conversion of raster graphic files by different platforms. Separate applications support these three formats directly because they are defined as the PNM format. Able to be stored using binary data or ASCII text. PNM is the common format for the Netpbm package. It contains intermediate files that are used when it comes to converting several open source programs called Portable Bitmap. The PPM format was developed by J. Poskanzer. This is the easiest format for storing graphics. PNM files store one image. They do not apply compression. To view and process a bitmap image in PNM format, you can use programs such as GIMP, ImageMagick, Newera Graphics Converter Pro, XnViewMP. The same programs are able to convert images of this format.