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.
PBM is a raster image category file format. It is a compact single-bit black and white image. In other words, this is a simple format that allows you to store black and white pictures. It can be easily formatted into text. In this raster image format, if the pixel is a byte of one, it represents black pixels. When it is a byte from zero, it represents white pixels. The format is referred to as the Portable Bitmap Image file type. How can I open this format? To do this, use programs such as Adobe Photoshop CS, some versions of ACD Systems, as well as Newera Graphics Converter Pro, Corel PaintShop Pro X6. The file has 1 bit per pixel. PBM is a type of PPM format. PBM, that is, Portable Bitmap, is part of the Netpbm graphics package along with a couple of other formats: PGM, that is, Portable Graymap; PPM, i.e. Portable Pixelmap. Occasionally, these three formats are combined under the general name PNM (Portable Anymap). These are intermediate files used in conversion processes supported by Portable Bitmap Utilities (these are applications that have open source code). The PBM format is linked in black and white bitmap images. In PGM, grayscale bitmaps. PPM stores color bitmaps.