LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm-extras
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid