mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
631 B
Plaintext
27 lines
631 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# macptopbm
|
|
|
|
> Read a MacPaint file as input and produce a PBM image as output.
|
|
> See also: `pbmtomacp`.
|
|
> More information: <https://netpbm.sourceforge.net/doc/macptopbm.html>.
|
|
|
|
- Convert a MacPaint file into a PGM image:
|
|
|
|
`macptopbm {{path/to/file.macp}} > {{path/to/output.pbm}}`
|
|
|
|
- Skip over `n` bytes when reading the file:
|
|
|
|
`macptopbm {{[-e|-extraskip]}} {{n}} > {{path/to/output.pbm}}`
|
|
|
|
- Suppress all informational messages:
|
|
|
|
`macptopbm {{[-q|-quiet]}} > {{path/to/output.pbm}}`
|
|
|
|
- Display version:
|
|
|
|
`macptopbm {{[-v|-version]}}`
|