pamfix
repairs corrupted images
TLDR
Fix corrupted image
$ pamfix [corrupted.pam] > [fixed.pam]
Truncate on error$ pamfix -truncate [corrupted.pam] > [fixed.pam]
SYNOPSIS
pamfix [options] [file]
DESCRIPTION
pamfix repairs corrupted images. Fixes common PAM/PNM errors.
The tool salvages damaged files. Part of Netpbm.
PARAMETERS
FILE
Input PAM/PNM file.-truncate
Truncate at first error.-change
Fix values out of range.
CAVEATS
Part of Netpbm. May not fix all corruption. Data loss possible.
HISTORY
pamfix is part of Netpbm for repairing corrupted image files.
SEE ALSO
pamfixtrunc(1), netpbm(1)
