TGATOPPM(1)
π¦ tgatoppm β the glow-up your Targa files have been waiting for
okay bestie, welcome to the Tgatoppm User Manual, straight out of the General Commands Manual π
β¨ NAME β¨
tgatoppm β convert a TrueVision Targa file to a PPM image π
πΈ SYNOPSIS πΈ
tgatoppm [--alphaout={alpha-filename,-}] [--headerdump] tga-filename
π DESCRIPTION π
So, this program is part of Netpbm(1). Family reunion moment π«Ά
tgatoppm reads a TrueVision Targa file as its input and produces a PPM image as its output. That's it. That's the whole personality. Iconic behaviour, honestly. β¨
π OPTIONS π
On top of the options that are common to all programs based on libnetpbm (most notably -quiet, peep the Common Options section), tgatoppm also recognises these command line options, periodt:
All options can be abbreviated to their shortest unique prefix. fr fr, just the shortest one that's still unambiguous. π§
--alphaout=alpha-filenameβ this makestgatoppmcreate a PGM image holding all the transparency channel values from the input image. Now, if the input image has no transparency channel at all? Thealpha-filenamefile just ends up full of all zero (transparent) transparency values. And listen β if you don't specify--alphaout, thentgatoppmdoes not generate an alpha file, and if the input image does happen to have a transparency channel,tgatoppmsimply discards it. π the disrespect. But okay.- If you pass
-as the filename,tgatoppmwrites the transparency output to Standard Output and discards the image. Wild, but true. π - Peep
pamcomp(1)for one way you can use that transparency output file.
- If you pass
--headerdumpβ causestgatoppmto dump the information from the TGA header over to Standard Error. Spilling the tea, literally. π
π SEE ALSO π
ppmtotga(1), pamcomp(1), ppm(1)
π AUTHOR π
Partially based on tga2rast, version 1.0, by Ian J. MacPhedran. π«‘
Copyright (C) 1989 by Jef Poskanzer.
π DOCUMENT SOURCE π
This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/tgatoppm.html
and that's a wrap, bestie π this was the netpbm documentation Tgatoppm User Manual, dated 02 April 2000 β mwah, go convert something cute β¨π π¦
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms