Linux command
pgmenhance 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Enhance image sharpness
pgmenhance [input.pgm] > [output.pgm]
Enhance with custom intensity
pgmenhance -[3] [input.pgm] > [output.pgm]
Read from stdin
cat [input.pgm] | pgmenhance -[5] > [output.pgm]
说明
pgmenhance reads a PGM image as input, enhances the edges, and writes a PGM image as output. The enhancement technique is derived from Philip R. Thompson's xim program. Part of the Netpbm toolkit.
参数
- - _N_
- Enhancement intensity from 1 (lowest) to 9 (highest). Default is 9.
FAQ
What is the pgmenhance command used for?
pgmenhance reads a PGM image as input, enhances the edges, and writes a PGM image as output. The enhancement technique is derived from Philip R. Thompson's xim program. Part of the Netpbm toolkit.
How do I run a basic pgmenhance example?
Run `pgmenhance [input.pgm] > [output.pgm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does - _N_ do in pgmenhance?
Enhancement intensity from 1 (lowest) to 9 (highest). Default is 9.