tgatoppm
Convert a TrueVision Targa file to a Netpbm image. tldr-pages
On several platforms
Several platforms
Convert a TrueVision Targa file to a PPM image
tgatoppm path/to/file.tga >path/to/output.ppmIdentifyDump information from the TGA header to stdout
tgatoppm -headerdump path/to/file.tga >path/to/output.ppmIdentifyWrite the transparency channel values of the input image to the specified file
tgatoppm -alphaout path/to/transparency_file.pgm path/to/file.tga >path/to/output.ppmIdentifyDisplay version
tgatoppm -versionIdentify