# pbmtomda > Convert a PBM image to a Microdesign MDA file. > See also: `mdatopbm`. > More information: . - 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}}`