tgatoppm Command Examples

Convert a TrueVision Targa file to a Netpbm image. More information: https://netpbm.sourceforge.net/doc/tgatoppm.html.

tgatoppm {{path/to/file.tga}} > {{path/to/output.ppm}}

tgatoppm --headerdump {{path/to/file.tga}} > {{path/to/output.ppm}}

tgatoppm --alphaout {{path/to/transparency_file.pgm}} {{path/to/file.tga}} > {{path/to/output.ppm}}

tgatoppm -version