1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-18 02:15:46 +02:00
tldr/pages/common/macptopbm.md
Lena 6fd816e36e
pages/*: use lowercase n for integer placeholders (#16033)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-03-27 21:23:12 +05:30

21 lines
511 B
Markdown

# 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 -extraskip {{n}} > {{path/to/output.pbm}}`
- Suppress all informational messages:
`macptopbm -quiet > {{path/to/output.pbm}}`
- Display version:
`macptopbm -version`