PAM Image Function - Apply Arithmetic Functions | Online Free DevTools by Hexmos
Apply arithmetic functions to PAM images with pamfunc. Manipulate pixel values using addition, subtraction, multiplication, division, and bitwise operations. Free online tool, no registration required.
pamfunc
Apply a simple arithmetic function to a Netpbm image. More information: https://netpbm.sourceforge.net/doc/pamfunc.html.
- Apply the specified arithmetic function with
nas the second argument to each sample in the specified PAM image:
pamfunc -{{multiplier|divisor|adder|subtractor|min|max}} {{n}} {{path/to/input.pam}} > {{path/to/output.pam}}
- Apply the specified bit string function with
nas the second argument to each sample in the specified PAM image:
pamfunc -{{andmask|ormask|xormask|shiftleft|shiftright}} {{n}} {{path/to/input.pam}} > {{path/to/output.pam}}
