---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mdatopbm

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

- Convert a MDA file to a PBM image:

`mdatopbm {{path/to/image.mda}} > {{path/to/output.pbm}}`

- Invert the colors in the input image:

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

- Double the input image's height:

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