Update cheatsheets

This commit is contained in:
ivuorinen
2024-06-04 00:14:12 +00:00
parent cdeb1d6bc9
commit c4f575222c
33 changed files with 232 additions and 151 deletions

View File

@@ -11,12 +11,12 @@ source: https://github.com/tldr-pages/tldr.git
- Fix a Netpbm file that is missing its last part:
`pamfix -truncate {{path/to/corrupted.ext} > {{path/to/output.ext}}`
`pamfix -truncate {{path/to/corrupted.ext}} > {{path/to/output.ext}}`
- Fix a Netpbm file where pixel values exceed the image's `maxval` by lowering the offending pixels' values:
`pamfix -clip {{path/to/corrupted.ext}} > {{path/to/output.ext}}`
- Fix a Netpbm file where pixel values exceed the image's maxval by increasing it:
- Fix a Netpbm file where pixel values exceed the image's `maxval` by increasing it:
`pamfix -changemaxval {{path/to/corrupted.pam|pbm|pgm|ppm}} > {{path/to/output.pam|pbm|pgm|ppm}}`