mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:42:09 +02:00
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:
parent
1e6b225a65
commit
425cadc57a
5 changed files with 68 additions and 0 deletions
8
pages/common/gemtopbm.md
Normal file
8
pages/common/gemtopbm.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# gemtopbm
|
||||
|
||||
> This command is superseded by `gemtopnm`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/gemtopbm.html>.
|
||||
|
||||
- View documentation for the current command:
|
||||
|
||||
`tldr gemtopnm`
|
16
pages/common/gemtopnm.md
Normal file
16
pages/common/gemtopnm.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# gemtopbm
|
||||
|
||||
> Convert a GEM image file into a PNM image.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/gemtopnm.html>.
|
||||
|
||||
- Convert a GEM image file to a PNM image:
|
||||
|
||||
`gemtopbm {{path/to/file.img}} > {{path/to/output.pbm}}`
|
||||
|
||||
- Describe the contents of the specified GEM image:
|
||||
|
||||
`gemtopbm -d {{path/to/file.img}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`gemtopbm -version`
|
16
pages/common/pamtotga.md
Normal file
16
pages/common/pamtotga.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# pamtotga
|
||||
|
||||
> Convert a Netpbm image to a TrueVision Targa file.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pamtotga.html>.
|
||||
|
||||
- Convert a Netpbm image to a TrueVision Targa file:
|
||||
|
||||
`pamtotga {{path/to/file.pam}} > {{path/to/output.tga}}`
|
||||
|
||||
- Specify the color map of the output image:
|
||||
|
||||
`pamtotga -{{cmap|cmap16|mono|rgb}} {{path/to/file.pam}} > {{path/to/output.tga}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`pamtotga -version`
|
8
pages/common/ppmtotga.md
Normal file
8
pages/common/ppmtotga.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# ppmtotga
|
||||
|
||||
> This command is superseded by `pamtotga`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/ppmtotga.html>.
|
||||
|
||||
- View documentation for the current command:
|
||||
|
||||
`tldr pamtotga`
|
20
pages/common/tgatoppm.md
Normal file
20
pages/common/tgatoppm.md
Normal 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`
|
Loading…
Add table
Reference in a new issue