LinuxCommandLibrary

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]
copy

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.

SEE ALSO

pamsplit(1), pamcat(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community