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.
DDS is a graphic format, bitmap image. DDS stands for Abbreviation for the DirectDraw Surface. This format, developed by Microsoft, is usually used to store textures for 3D environments (for example, in computer games or 3D models, including new-generation game consoles). The format is designed specifically for use in the Microsoft DirectX environment, however, in OpenGL, the use of DDS files is also possible. Even when compressed, the texture quality is preserved in the DDS files. Compression of files of this format is possible using DirectX Texture Compression technology.