---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 {{[-v|-version]}}`
