← 返回命令列表

Linux command

pbmtomda 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Convert PBM to Microdesign Area format

pbmtomda [input.pbm] > [output.mda]

Invert colors

pbmtomda -i [input.pbm] > [output.mda]

Produce double-resolution MDA output

pbmtomda -d [input.pbm] > [output.mda]

说明

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.

参数

-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.

FAQ

What is the pbmtomda command used for?

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.

How do I run a basic pbmtomda example?

Run `pbmtomda [input.pbm] > [output.mda]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d do in pbmtomda?

Produce double-resolution MDA output instead of the default single resolution.