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.

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)

Copied to clipboard
Kai