mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 18:43:38 +00:00
22 lines
513 B
Plaintext
22 lines
513 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|