HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ppmshift — Shift the lines in a PPM image by a randomized amount. More information: <https://netpbm.sourceforge

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandlinescliimageppmshiftshiftppm

Problem

How to use the ppmshift command: Shift the lines in a PPM image by a randomized amount. More information: <https://netpbm.sourceforge.net/doc/ppmshift.html>.

Solution

ppmshift — Shift the lines in a PPM image by a randomized amount. More information: <https://netpbm.sourceforge.net/doc/ppmshift.html>.

Shift the lines in the input image by a randomized amount not exceeding s to the left or to the right:
ppmshift {{s}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}

Code Snippets

Shift the lines in the input image by a randomized amount not exceeding s to the left or to the right

ppmshift {{s}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}

Context

tldr-pages: common/ppmshift

Revisions (0)

No revisions yet.