tldr/pages/common/pnmsmooth.md

13 lines
415 B
Markdown
Raw Normal View History

2023-12-15 18:08:54 +00:00
# pnmsmooth
> Smooth out a PNM image.
> More information: <https://netpbm.sourceforge.net/doc/pnmsmooth.html>.
- Smooth out a PNM image using a convolution matrix of size 3x3:
`pnmsmooth {{path/to/input.pnm}} > {{path/to/output.pnm}}`
- Smooth out a PNM image using a convolution matrix of size width times height:
`pnmsmooth -width {{width}} -height {{height}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`