mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-29 17:15:28 +02:00
16 lines
429 B
Markdown
16 lines
429 B
Markdown
# 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 {{[-v|-version]}}`
|