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.
