mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 06:41:49 +00:00
18 lines
508 B
Plaintext
18 lines
508 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|