1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:02:08 +02:00
tldr/pages/common/pamarith.md
Juri Dispan 3e24ce7227
pnmarith, pamarith: add pages (#12422)
* pnmarith, pamarith: add pages

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-03-02 22:39:25 +05:30

9 lines
414 B
Markdown

# pamarith
> Apply a binary function on two Netpbm images.
> See also: `pamfunc`.
> More information: <https://netpbm.sourceforge.net/doc/pamarith.html>.
- Apply the specified binary function pixel-wise on the two specified images (which must be of the same size):
`pamarith -{{add|subtract|multiply|divide|difference|minimum|maximum|...}} {{path/to/image1.pam|pbm|pgm|ppm}} {{path/to/image2.pam|pbm|pgm|ppm}}`