HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mdatopbm — Convert a Microdesign MDA file to a PBM image. See also: `pbmtomda`. More information: <https://netp

Submitted by: @import:tldr-pages··
0
Viewed 0 times
mdacommandmdatopbmconvertclifilepbmmicrodesign

Problem

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

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/mdatopbm

Revisions (0)

No revisions yet.