← 返回命令列表

Linux command

pnmtorast 命令

文本

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

常用示例

Convert PNM to Sun raster

pnmtorast [input.pnm] > [output.ras]

Specify encoding

pnmtorast -rle [input.pnm] > [output.ras]

说明

pnmtorast converts PNM images to Sun Rasterfile format. Part of Netpbm toolkit.

参数

-rle
Use RLE compression.
-standard
Use standard format.

FAQ

What is the pnmtorast command used for?

pnmtorast converts PNM images to Sun Rasterfile format. Part of Netpbm toolkit.

How do I run a basic pnmtorast example?

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

What does -rle do in pnmtorast?

Use RLE compression.