gemtopbm, gemtopnm, pamtotga, ppmtotga, tgatoppm: add pages (#11402)

* gemtopbm, gemtopnm, pamtotga, ppmtotga, tgatoppm: add pages

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Juri Dispan
2023-11-07 14:15:14 +01:00
committed by GitHub
parent 1e6b225a65
commit 425cadc57a
5 changed files with 68 additions and 0 deletions

20
pages/common/tgatoppm.md Normal file
View File

@@ -0,0 +1,20 @@
# tgatoppm
> Convert a TrueVision Targa file to a Netpbm image.
> More information: <https://netpbm.sourceforge.net/doc/tgatoppm.html>.
- Convert a TrueVision Targa file to a PPM image:
`tgatoppm {{path/to/file.tga}} > {{path/to/output.ppm}}`
- Dump information from the TGA header to `stdout`:
`tgatoppm --headerdump {{path/to/file.tga}} > {{path/to/output.ppm}}`
- Write 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.ppm}}`
- Display version:
`tgatoppm -version`