← 返回命令列表

Linux command

pbmtopgm 命令

文本

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

常用示例

Convert bitmap to grayscale

pbmtopgm [width] [height] [input.pbm] > [output.pgm]

说明

pbmtopgm converts PBM bitmap to PGM grayscale by averaging pixel regions. Anti-aliases bitmap edges. Part of Netpbm toolkit.

FAQ

What is the pbmtopgm command used for?

pbmtopgm converts PBM bitmap to PGM grayscale by averaging pixel regions. Anti-aliases bitmap edges. Part of Netpbm toolkit.

How do I run a basic pbmtopgm example?

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