mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
523 B
Plaintext
23 lines
523 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pbmtogem
|
|
|
|
> Read a PBM image as input and produce a compressed GEM `.img` file as output.
|
|
> `pbmtogem` cannot compress repeated lines.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pbmtogem.html>.
|
|
|
|
- Convert a PBM image into a GEM `.img` file:
|
|
|
|
`pbmtogem {{path/to/file.pbm}} > {{path/to/file.img}}`
|
|
|
|
- Suppress all informational messages:
|
|
|
|
`pbmtogem {{[-q|-quiet]}}`
|
|
|
|
- Display version:
|
|
|
|
`pbmtogem {{[-v|-version]}}`
|