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.
JNG is a raster format. It has a close relationship with PNG. The JNG format uses exactly the same structure as PNG. It stores data in the main JPEG stream, is able to store the alpha channel stream in the form of PNG or JPEG, as well as information in the form of text. It also supports gamma and color correction. This image file format uses lossless compression similar to standard .JPEG files. The format was developed as a sub-format for .MNG objects. However, it is quite suitable as a separate raster image format. Some JNG files include an optional alpha channel for transparency. It does not support standard JPEG files. It is also possible to include auxiliary data sections, which may contain information about color space and comments. JNG is a format that is not very popular. Nevertheless, it has such a very good property as a large degree of lossy graphics compression. He also has an alpha channel. Color data is stored in JPEG format. For alpha, there is one of two storage options. It can be compressed using JPEG, like a grayscale picture. Or you can use the same as in PNG, lossless compression. The format is best suited to store texture atlases in mobile games. A good win for a mobile game.