mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
547 B
Plaintext
23 lines
547 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pbmtomda
|
|
|
|
> Convert a PBM image to a Microdesign MDA file.
|
|
> See also: `mdatopbm`.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pbmtomda.html>.
|
|
|
|
- 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}}`
|