mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
563 B
Plaintext
18 lines
563 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ppmspread
|
|
|
|
> Displace the pixels in a PPM image by a randomized amount.
|
|
> More information: <https://netpbm.sourceforge.net/doc/ppmspread.html>.
|
|
|
|
- Displace the pixels in a PPM image by a randomized amount that is at most `a`:
|
|
|
|
`ppmspread {{a}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}`
|
|
|
|
- Specify a seed to a the pseudo-random number generator:
|
|
|
|
`ppmspread {{a}} {{path/to/input_file.ppm}} {{[-r|-randomseed]}} {{seed}} > {{path/to/output_file.ppm}}`
|