commands.sh

pamcomp

all

Overlay two PAM images.

More info →

Options (5)

boolean

Set the horizontal alignment of the overlay

Example: pamcomp {{[-ali|-align]}} {{left|center|right|beyondleft|beyondright}} {{[-x|-xoff]}} {{x_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}
-xboolean

Set the horizontal alignment of the overlay

Example: pamcomp {{[-ali|-align]}} {{left|center|right|beyondleft|beyondright}} {{[-x|-xoff]}} {{x_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}
boolean

Set the vertical alignment of the overlay

Example: pamcomp {{[-va|-valign]}} {{top|middle|bottom|above|below}} {{[-y|-yoff]}} {{y_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}
-yboolean

Set the vertical alignment of the overlay

Example: pamcomp {{[-va|-valign]}} {{top|middle|bottom|above|below}} {{[-y|-yoff]}} {{y_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}
-oboolean

Set the opacity of the overlay

Example: pamcomp {{[-o|-opacity]}} {{0.7}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}

Examples (4)

Overlay two images such with the overlay blocking parts of the underlay

pamcomp path/to/overlay.pam path/to/underlay.pam > path/to/output.pam

Set the horizontal alignment of the overlay

pamcomp [-ali|-align] left|center|right|beyondleft|beyondright [-x|-xoff] x_offset path/to/overlay.pam path/to/underlay.pam > path/to/output.pam

Set the vertical alignment of the overlay

pamcomp [-va|-valign] top|middle|bottom|above|below [-y|-yoff] y_offset path/to/overlay.pam path/to/underlay.pam > path/to/output.pam

Set the opacity of the overlay

pamcomp [-o|-opacity] 0.7 path/to/overlay.pam path/to/underlay.pam > path/to/output.pam
made by @shridhargupta | data from tldr-pages