mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 20:57:20 +00:00
Update cheatsheets
This commit is contained in:
26
macptopbm
Normal file
26
macptopbm
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
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 a specified number of bytes when reading the file:
|
||||
|
||||
`macptopbm -extraskip {{N}} > {{path/to/output.pbm}}`
|
||||
|
||||
- Suppress all informational messages:
|
||||
|
||||
`macptopbm -quiet > {{path/to/output.pbm}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`macptopbm -version`
|
||||
Reference in New Issue
Block a user