pamexec

runs a specified shell command on each image in a multi-image PAM stream

TLDR

Apply command to each image in stream
$ pamexec "[pnmflip -lr]" [input.pam] > [output.pam]

SYNOPSIS

pamexec command [file]

DESCRIPTION

pamexec runs a specified shell command on each image in a multi-image PAM stream. The command receives each image on stdin and outputs to stdout. Part of Netpbm toolkit.

PARAMETERS

command

Shell command to execute on each image.

INSTALL

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

SEE ALSO

pamsplit(1)