Linux command
mdatopbm 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Convert
mdatopbm [input.mda] > [output.pbm]
Read from stdin
cat [input.mda] | mdatopbm > [output.pbm]
Double-height
mdatopbm -d [input.mda] > [output.pbm]
Invert
mdatopbm -i [input.mda] > [output.pbm]
说明
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.
参数
- -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.
FAQ
What is the mdatopbm command used for?
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.
How do I run a basic mdatopbm example?
Run `mdatopbm [input.mda] > [output.pbm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d, -double do in mdatopbm?
Double the height of the image to compensate for the rectangular pixel aspect ratio of the Amstrad PCW screen.