pamcomp
Overlay two PAM images. tldr-pages
On several platforms
Several platforms
Overlay two images such with the overlay blocking parts of the underlay
pamcomp path/to/overlay.pam path/to/underlay.pam >path/to/output.pamIdentifySet the horizontal alignment of the overlay
pamcomp -align left -xoff x_offset path/to/overlay.pam path/to/underlay.pam >path/to/output.pamIdentifySet the vertical alignment of the overlay
pamcomp -valign top -yoff y_offset path/to/overlay.pam path/to/underlay.pam >path/to/output.pamIdentifySet the opacity of the overlay
pamcomp -opacity 0.7 path/to/overlay.pam path/to/underlay.pam >path/to/output.pamIdentify