2024-02-06 16:12:53 +01:00
|
|
|
# pamcomp
|
|
|
|
|
|
|
|
> Overlay two PAM images.
|
|
|
|
> More information: <https://netpbm.sourceforge.net/doc/pamcomp.html>.
|
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pamcomp {{[-ali|-align]}} {{left|center|right|beyondleft|beyondright}} {{[-x|-xoff]}} {{x_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}`
|
2024-02-06 16:12:53 +01:00
|
|
|
|
|
|
|
- Set the vertical alignment of the overlay:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pamcomp {{[-va|-valign]}} {{top|middle|bottom|above|below}} {{[-y|-yoff]}} {{y_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}`
|
2024-02-06 16:12:53 +01:00
|
|
|
|
|
|
|
- Set the opacity of the overlay:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pamcomp {{[-o|-opacity]}} {{0.7}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}`
|