mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 13:57:17 +00:00
Update cheatsheets
This commit is contained in:
21
ppmrainbow
Normal file
21
ppmrainbow
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ppmrainbow
|
||||
|
||||
> Generate a rainbow.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/ppmrainbow.html>.
|
||||
|
||||
- Generate a rainbow consisting of the specified colors:
|
||||
|
||||
`ppmrainbow {{color1 color2 ...}} > {{path/to/output_file.ppm}}`
|
||||
|
||||
- Specify the size of the output in pixels:
|
||||
|
||||
`ppmrainbow -width {{width}} -height {{height}} {{color1 color2 ...}} > {{path/to/output_file.ppm}}`
|
||||
|
||||
- End the rainbow with the last color specified, do not repeat the first color:
|
||||
|
||||
`ppmrainbow -norepeat {{color1 color2 ...}} > {{path/to/output_file.ppm}}`
|
||||
Reference in New Issue
Block a user