2024-03-24 08:45:01 +00:00
|
|
|
# pamfix
|
|
|
|
|
|
|
|
> Fix errors in PAM, PBM, PGM and PPM files.
|
|
|
|
> See also: `pamfile`, `pamvalidate`.
|
|
|
|
> More information: <https://netpbm.sourceforge.net/doc/pamfix.html>.
|
|
|
|
|
|
|
|
- Fix a Netpbm file that is missing its last part:
|
|
|
|
|
jf, pam*,pbmtosunicon, pcdovtoppm, pngtopam, pnm*, ruff-*, sunicontopnm: add Dutch translation, pcdovtoppm: fix typo (#12878)
* jf, pam*,pbmtosunicon, pcdovtoppm, pngtopam, pnm*, ruff-*, sunicontopnm: add Dutch translation
* pamfix, pages.nl/*: fix and translate typo's
* pamfix, pamfile: fix typos
2024-06-03 12:02:46 +01:00
|
|
|
`pamfix -truncate {{path/to/corrupted.ext}} > {{path/to/output.ext}}`
|
2024-03-24 08:45:01 +00:00
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
jf, pam*,pbmtosunicon, pcdovtoppm, pngtopam, pnm*, ruff-*, sunicontopnm: add Dutch translation, pcdovtoppm: fix typo (#12878)
* jf, pam*,pbmtosunicon, pcdovtoppm, pngtopam, pnm*, ruff-*, sunicontopnm: add Dutch translation
* pamfix, pages.nl/*: fix and translate typo's
* pamfix, pamfile: fix typos
2024-06-03 12:02:46 +01:00
|
|
|
- Fix a Netpbm file where pixel values exceed the image's `maxval` by increasing it:
|
2024-03-24 08:45:01 +00:00
|
|
|
|
|
|
|
`pamfix -changemaxval {{path/to/corrupted.pam|pbm|pgm|ppm}} > {{path/to/output.pam|pbm|pgm|ppm}}`
|