CmdID

CmdID / Commands

pamfix

Fix errors in PAM, PBM, PGM, and PPM files. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Fix a Netpbm file that is missing its last part

pamfix -truncate path/to/corrupted.ext >path/to/output.extIdentify

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.extIdentify

Fix a Netpbm file where pixel values exceed the image's maxval by increasing it

pamfix -changemaxval path/to/corrupted.pam >path/to/output.pamIdentify