mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 05:58:28 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Force the brightest pixels to be white, the darkest pixels to be black and spread out the ones in between quadratically such that pixels with a brightness of `n` become 50 % bright:
|
||||
|
||||
`pnmnorm -midvalue {{n}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`
|
||||
`pnmnorm {{[-midv|-midvalue]}} {{n}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`
|
||||
|
||||
- Keep the pixels' hue, only modify the brightness:
|
||||
|
||||
`pnmnorm -keephues {{path/to/image.pnm}} > {{path/to/output.pnm}}`
|
||||
`pnmnorm {{[-k|-keephues]}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`
|
||||
|
||||
- Specify a method to calculate a pixel's brightness:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user