Minimum unique abbreviation of option is acceptable. You may use double hyphens instead of single hyphen to denote options. You may use white space in place of the equals sign to separate an option name from its value.
This program is part of Netpbm.
pbmtomda reads a PBM image as input and produces a MicroDesign 2 area file (.MDA) as output.
If you do not specify pbmfile, pbmtomda uses Standard Input.
MDA images must be a multiple of 8 pixels wide and 4 pixels high. pbmtomda truncates any fractional pixels on the right and pads on the bottom with black as necessary, even if this creates an image of zero width. The program warns you when it does these things.
To avoid truncation and do different padding, pad the image to a multiple of 8 pixels wide and 4 pixels high beforehand with pnmpad or pamcomp.
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pbmtomda recognizes the following command line options: