All Posts programming macptopbm: convert a MacPaint file into a PBM image

macptopbm: convert a MacPaint file into a PBM image

· 125 words · 1 minute read

macptopbm is a command-line program to convert a MacPaint file into a PBM image.

Read a MacPaint file as input and produce a PBM image as output.

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]

See also: pbmtomacp. More information: https://netpbm.sourceforge.net/doc/macptopbm.html .

I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .