mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 02:43:18 +00:00
23 lines
548 B
Plaintext
23 lines
548 B
Plaintext
---
|
|
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}}`
|