mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
397 B
Plaintext
18 lines
397 B
Plaintext
---
|
|
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]}}`
|