mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 22:42:41 +00:00
19 lines
450 B
Plaintext
19 lines
450 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pbmtomacp
|
|
|
|
> Convert a PBM image to a MacPaint file.
|
|
> See also: `macptopbm`.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pbmtomacp.html>.
|
|
|
|
- Convert a PBM image to a MACP file:
|
|
|
|
`pbmtomacp {{path/to/image.pbm}} > {{path/to/output.macp}}`
|
|
|
|
- Do not compress the output file:
|
|
|
|
`pbmtomacp -norle {{path/to/image.pbm}} > {{path/to/output.macp}}`
|