LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

mdatopbm

converts MicroDesign Area format to PBM

TLDR

Convert a MicroDesign area to PBM on stdout
$ mdatopbm [input.mda] > [output.pbm]
copy
Read from stdin and write PBM on stdout
$ cat [input.mda] | mdatopbm > [output.pbm]
copy
Double-height output (for non-square PCW pixels)
$ mdatopbm -d [input.mda] > [output.pbm]
copy
Invert black/white in the output
$ mdatopbm -i [input.mda] > [output.pbm]
copy

SYNOPSIS

mdatopbm [-d] [-i] [mdafile]

DESCRIPTION

mdatopbm converts MicroDesign Area files to PBM. MicroDesign was a desktop publishing program for the Amstrad PCW range of computers, and its .mda files store bitmap clip art at the PCW's non-square pixel ratio. The -d option doubles the vertical resolution so the image appears at correct proportions on a square-pixel display.Output is written to standard output. The tool is part of the Netpbm toolkit.

PARAMETERS

-d, -double

Double the height of the image to compensate for the rectangular pixel aspect ratio of the Amstrad PCW screen.
-i, -invert
Swap foreground and background, producing white-on-black output.
mdafile
Input MicroDesign Area (.mda) file. Reads from standard input if omitted.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

CAVEATS

Only the MicroDesign Area (.mda) variant is supported; documents from MicroDesign Plus may need to be exported to .mda first. The format is monochrome (1 bpp).

SEE ALSO

pbmtomda(1), pbmtolj(1), pbm(5)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid