Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-02 00:19:10 +00:00
parent 2be0d1874d
commit 6c2bf9ee1e
134 changed files with 253 additions and 253 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 {{[-t|-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}}`
`pamfix {{[-cl|-clip]}} {{path/to/corrupted.ext}} > {{path/to/output.ext}}`
- 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}}`
`pamfix {{[-ch|-changemaxval]}} {{path/to/corrupted.pam|pbm|pgm|ppm}} > {{path/to/output.pam|pbm|pgm|ppm}}`