# phpman > man > mdatopbm(1)

> **TLDR:** Convert a Microdesign MDA file to a PBM image.
>
- 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}}`

*Source: tldr-pages*

---

[mdatopbm(1)](https://www.chedong.com/phpMan.php/man/mdatopbm/1/markdown)                            General Commands Manual                           [mdatopbm(1)](https://www.chedong.com/phpMan.php/man/mdatopbm/1/markdown)



## NAME
       mdatopbm - convert a Microdesign .mda or .mdp file into a portable bitmap

## SYNOPSIS
       **mdatopbm** [**-a**][**-d**][**-i**][**--**] _[_ _mdafile_ _]_

## DESCRIPTION
       Reads  a  MicroDesign  file as input.  Reads from stdin if input file is omitted.  Produces a
       portable bitmap as output.

## OPTIONS
### -a

### -d
              croDesign files.

### -i

       **--**     End of options (use this if the filename starts with "-")

## SEE ALSO
       [pbmtomda(1)](https://www.chedong.com/phpMan.php/man/pbmtomda/1/markdown), [pbm(5)](https://www.chedong.com/phpMan.php/man/pbm/5/markdown)

## AUTHOR
       Copyright (C) 1999 John Elliott <<jce@seasip.demon.co.uk>>.




                                             3 June 1999                                 [mdatopbm(1)](https://www.chedong.com/phpMan.php/man/mdatopbm/1/markdown)
