mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 22:43:13 +00:00
18 lines
416 B
Plaintext
18 lines
416 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pamtopnm
|
|
|
|
> Convert a PAM image to an equivalent PNM image.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pamtopnm.html>.
|
|
|
|
- Convert a PAM image to an equivalent PNM image, i.e. a PBM, PGM or PPM image:
|
|
|
|
`pamtopnm {{path/to/image.pam}} > {{path/to/output.pbm|pgm|ppm}}`
|
|
|
|
- Display version:
|
|
|
|
`pamtopnm -version`
|