snippetbashTip
pamarith — Apply a binary function on two Netpbm images. See also: `pamfunc`. More information: <https://netpbm
Viewed 0 times
commandpamarithtwofunctionapplyclinetpbmbinary
Problem
How to use the
pamarith command: Apply a binary function on two Netpbm images. See also: pamfunc. More information: <https://netpbm.sourceforge.net/doc/pamarith.html>.Solution
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}}Code Snippets
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}}Context
tldr-pages: common/pamarith
Revisions (0)
No revisions yet.