Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-23 00:21:53 +00:00
parent 191a6f336e
commit faccb95d5c
7 changed files with 52 additions and 14 deletions

View File

@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
- Generate a left-to-right greyscale map:
`pgmtexture -lr > {{path/to/output.pgm}}`
`pgmramp -lr > {{path/to/output.pgm}}`
- Generate a top-to-bottom greyscale map:
`pgmtexture -tb > {{path/to/output.pgm}}`
`pgmramp -tb > {{path/to/output.pgm}}`
- Generate a rectangular greyscale map:
`pgmtexture -rectangle > {{path/to/output.pgm}}`
`pgmramp -rectangle > {{path/to/output.pgm}}`
- Generate a elliptical greyscale map:
`pgmtexture -ellipse {{path/to/image.pgm}} > {{path/to/output.pgm}}`
`pgmramp -ellipse {{path/to/image.pgm}} > {{path/to/output.pgm}}`
- Generate a greyscale map from the top-left corner to the bottom-right corner:
`pgmtexture -diagonal {{path/to/image.pgm}} > {{path/to/output.pgm}}`
`pgmramp -diagonal {{path/to/image.pgm}} > {{path/to/output.pgm}}`