Linux Commands Examples

A great documentation place for Linux commands

mdatopbm

convert a Microdesign .mda or .mdp file into a portable bitmap


see also : pbmtomda

Synopsis

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


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
pngtopnm "$file"
;;
*MicroDesign* )
mdatopbm -d -- "$file"
;;
*PC*bitmap*data* )
bmptoppm "$file"
*.png | *.PNG )
pngtopnm "$file"
;;
*.mda | *.mdp )
mdatopbm -d -- "$file"
0
source
            
mda )
mdatopbm -d -- "$file"
;;
bmp )
bmptoppm "$file"
;;
xbm )
0
source
            
pngtopam "$file"
;;
mda )
mdatopbm -d -- "$file"
;;
bmp )
bmptoppm "$file"

description

Reads a MicroDesign file as input. Reads from stdin if input file is omitted. Produces a portable bitmap as output.

options

-a

Output the PBM in ASCII rather than binary.

-d

Double the height of the output file, to compensate for the aspect ratio used in MicroDesign files.

-i

Invert the colours used.

--

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


see also

pbmtomda , pbm


author

Copyright (C) 1999 John Elliott <jce[:at:]seasip.demon.co[:dot:]uk>.

How can this site be more helpful to YOU ?


give  feedback