← 返回命令列表

Linux command

pnmtoplainpnm 命令

文本

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

常用示例

Convert a PNM image to plain ASCII format

pnmtoplainpnm [input.pnm] > [output.pnm]

Read from stdin and write plain format to a file

cat [input.pnm] | pnmtoplainpnm > [output.pnm]

说明

pnmtoplainpnm reads a PNM image as input and writes an equivalent image in plain (ASCII) PNM format. Plain format is human-readable but significantly larger than the binary (raw) format. Part of the Netpbm toolkit. pnmtoplainpnm was obsoleted in Netpbm 10.23 (July 2004) by pamtopnm. It is retained for backward compatibility; all it does is invoke `pamtopnm -plain`. The preferred modern approach is to use the -plain common option on any Netpbm program.

FAQ

What is the pnmtoplainpnm command used for?

pnmtoplainpnm reads a PNM image as input and writes an equivalent image in plain (ASCII) PNM format. Plain format is human-readable but significantly larger than the binary (raw) format. Part of the Netpbm toolkit. pnmtoplainpnm was obsoleted in Netpbm 10.23 (July 2004) by pamtopnm. It is retained for backward compatibility; all it does is invoke `pamtopnm -plain`. The preferred modern approach is to use the -plain common option on any Netpbm program.

How do I run a basic pnmtoplainpnm example?

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

Where can I find more pnmtoplainpnm examples?

This page includes 2 examples for pnmtoplainpnm, plus related commands for nearby Linux tasks.