tldr/pages/common/anytopnm.md

13 lines
332 B
Markdown

# anytopnm
> Convert an arbitrary type of image file to common image formats.
> More information: <https://netpbm.sourceforge.net/doc/anytopnm.html>.
- Convert an input image to PBM, PGM, or PPM format irrespective of the input type:
`anytopnm {{path/to/input}} > {{path/to/output.pnm}}`
- Display version:
`anytopnm -version`