TGATOPPM(1)

πŸ“¦
version 11.13.03 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ¦‹ 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 makes tgatoppm create a PGM image holding all the transparency channel values from the input image. Now, if the input image has no transparency channel at all? The alpha-filename file just ends up full of all zero (transparent) transparency values. And listen β€” if you don't specify --alphaout, then tgatoppm does not generate an alpha file, and if the input image does happen to have a transparency channel, tgatoppm simply discards it. 😭 the disrespect. But okay.
    • If you pass - as the filename, tgatoppm writes 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.
  • --headerdump β€” causes tgatoppm to 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