tldr/pages/common/imgtoppm.md

13 lines
296 B
Markdown

# 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`