LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pbmtomda

Convert PBM to Microdesign MDA format

TLDR

Convert PBM to Microdesign Area format
$ pbmtomda [input.pbm] > [output.mda]
copy
Invert colors
$ pbmtomda -i [input.pbm] > [output.mda]
copy
Produce double-resolution MDA output
$ pbmtomda -d [input.pbm] > [output.mda]
copy

SYNOPSIS

pbmtomda [-d] [-i] [pbmfile]

DESCRIPTION

pbmtomda reads a PBM (Portable Bitmap) image and writes it to standard output in Microdesign Area (MDA) format, the native graphics format used by the Microdesign graphics program on the Amstrad PCW CP/M-based computer. The output is a raw MDA file without a header, suitable for pasting into a Microdesign document.Part of the Netpbm toolkit.

PARAMETERS

-d

Produce double-resolution MDA output instead of the default single resolution.
-i
Invert the image so black pixels in the PBM become white in the MDA output.
pbmfile
Input PBM file. If omitted, the image is read from standard input.

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

Generates only uncompressed MDA data; a Microdesign file header must be added separately when producing a standalone file.

SEE ALSO

mdatopbm(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