LinuxCommandLibrary

pamcomp

composites two images

TLDR

Composite images

$ pamcomp [overlay.pam] [base.pam] > [output.pam]
copy
With transparency
$ pamcomp -alpha=[mask.pgm] [overlay.pam] [base.pam] > [output.pam]
copy
Specify position
$ pamcomp -xoff=[100] -yoff=[50] [overlay.pam] [base.pam] > [output.pam]
copy

SYNOPSIS

pamcomp [options] overlay base

DESCRIPTION

pamcomp composites two images. Overlays with transparency support.
The tool combines PAM/PNM images. Part of Netpbm.

PARAMETERS

OVERLAY

Foreground image.
BASE
Background image.
-alpha FILE
Alpha mask file.
-xoff PIXELS
X offset.
-yoff PIXELS
Y offset.
-align POS
Alignment position.

CAVEATS

Part of Netpbm. PAM/PNM format. Alpha channel support.

HISTORY

pamcomp is part of Netpbm for image compositing operations.

SEE ALSO

pnmcomp(1), pnmpaste(1), netpbm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community