---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pgmtolispm

> Convert a PGM image to Lisp Machine format.
> See also: `lispmtopgm`.
> More information: <https://netpbm.sourceforge.net/doc/pgmtolispm.html>.

- Convert the specified PGM image to Lisp Machine format:

`pgmtolispm {{path/to/input.pgm}} > {{path/to/output.lispm}}`
