mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
507 B
Plaintext
15 lines
507 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|