tldr/pages/common/anytopnm.md

332 B

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