LinuxCommandLibrary

pamfix

repairs corrupted images

TLDR

Fix corrupted image

$ pamfix [corrupted.pam] > [fixed.pam]
copy
Truncate on error
$ pamfix -truncate [corrupted.pam] > [fixed.pam]
copy

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community