1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:02:08 +02:00
tldr/pages/common/pamcomp.md
Juri Dispan a47af264de
pamcomp, pnmcomp, pnmconvol, pnmcrop, pnmgamma: add pages (#12197)
* pamcomp, pnmcomp, pnmconvol, pnmcrop, pnmgamma: add pages

* Update pages/common/pnmgamma.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-06 23:12:53 +08:00

20 lines
802 B
Markdown

# 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:
`pamcomp -align {{left|center|right|beyondleft|beyondright}} -xoff {{x_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}`
- Set the vertical alignment of the overlay:
`pamcomp -valign {{top|middle|bottom|above|below}} -yoff {{y_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}`
- Set the opacity of the overlay:
`pamcomp -opacity {{0.7}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}`