Files
tldr/pages.zh/common/pbmtopgm.md

9 lines
379 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# pbmtopgm
> 通过对每个像素周围的区域进行平均,将 PBM 图像转换为 PGM。
> 另见:`pnmconvol``pamditherbw`。
> 更多信息:<https://netpbm.sourceforge.net/doc/pbmtopgm.html>。
- 通过对每个像素周围的 `w`x`h` 大小区域进行平均,将 PBM 图像转换为 PGM
`pbmtopgm {{w}} {{h}} {{path/to/image.pbm}} > {{path/to/output.pgm}}`