tldr/pages/common/imgtoppm.md

295 B

imgtoppm

Convert various image file formats to the PPM (Portable Pixmap) format. More information: https://netpbm.sourceforge.net/doc/imgtoppm.html.

  • Convert an input image to PPM format:

imgtoppm {{path/to/input}} > {{path/to/output.ppm}}

  • Display version:

imgtoppm -version