phpman > man > pbmtomda(1)

Markdown | JSON | MCP    

TLDR: pbmtomda (tldr-pages)

Convert a PBM image to a Microdesign MDA file.

  • 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}}
pbmtomda(1)                            General Commands Manual                           pbmtomda(1)



NAME
       pbmtomda - convert a portable bitmap to a Microdesign .mda

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

DESCRIPTION
       Reads  a portable bitmap file as input.  Reads from stdin if input file is omitted.  Produces
       a MicroDesign 2 area file (.MDA) as output.

OPTIONS
       -d     Halve the height of the output file, to compensate for the aspect ratio  used  in  Mi‐
              croDesign files.

       -i     Invert the colours used.

       --     End of options (use this if the filename starts with "-")

BUGS
       There's  no way to produce files in MicroDesign 3 format. MD3 itself and mdatopbm(1) can read
       files in either format.

SEE ALSO
       mdatopbm(1), pbm(5)

AUTHOR
       Copyright (C) 1999 John Elliott <jce AT seasip.uk>.




                                             3 June 1999                                 pbmtomda(1)

Generated by phpman local Author: Che Dong Under GNU General Public License
2026-06-15 04:38 @216.73.216.200
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!