tldr/pages/common/imgtoppm.md

296 B

imgtoppm

Converts 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