logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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 n as 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 n as 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}}

See Also