TGA is a long-used raster graphic format. It was developed by Truevision Inc. (now Pinnacle Systems) back in 1984. It was initially used by the developer only for its own graphic adapters, but gradually gained popularity (primarily in the field of video processing and animation). Widely used in computer games, where it is used to store textures (including 3D video games). The name of the format comes from Targa Graphic. TGA files may partially contain image transparency information. They can become the main one for creating GIFs.
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.