mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 02:55:17 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user