tldr/pages/common/pbmtomda.md

454 B

pbmtomda

Convert a PBM image to a Microdesign MDA file. See also: mdatopbm. More information: https://netpbm.sourceforge.net/doc/pbmtomda.html.

  • Convert a PBM image to a MDA file:

pbmtomda {{path/to/image.pbm}} > {{path/to/output.mda}}

  • Invert the colors in the input image:

pbmtomda -i {{path/to/image.pbm}} > {{path/to/output.mda}}

  • Halve the input image's height:

pbmtomda -d {{path/to/image.pbm}} > {{path/to/output.mda}}