tldr/pages/common/pamtopnm.md

13 lines
323 B
Markdown
Raw Normal View History

# 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`