LinuxCommandLibrary

pamfixtrunc

fixes truncated images

TLDR

Fix truncated image

$ pamfixtrunc [truncated.pam] > [fixed.pam]
copy
Fill with specific value
$ pamfixtrunc -fillvalue=[0] [truncated.pam] > [fixed.pam]
copy

SYNOPSIS

pamfixtrunc [options] [file]

DESCRIPTION

pamfixtrunc fixes truncated images. Pads missing data.
The tool completes incomplete files. Part of Netpbm.

PARAMETERS

FILE

Truncated PAM/PNM file.
-fillvalue VALUE
Fill value for missing pixels.

CAVEATS

Part of Netpbm. Fills missing data. Original data lost.

HISTORY

pamfixtrunc is part of Netpbm for fixing truncated image files.

SEE ALSO

pamfix(1), netpbm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community