From 3e24ce72277b28bc30ad16252b2e4196d3c6e9d4 Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Sat, 2 Mar 2024 18:09:25 +0100 Subject: [PATCH] pnmarith, pamarith: add pages (#12422) * pnmarith, pamarith: add pages --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> --- pages/common/pamarith.md | 9 +++++++++ pages/common/pnmarith.md | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 pages/common/pamarith.md create mode 100644 pages/common/pnmarith.md diff --git a/pages/common/pamarith.md b/pages/common/pamarith.md new file mode 100644 index 0000000000..4f247ee8a7 --- /dev/null +++ b/pages/common/pamarith.md @@ -0,0 +1,9 @@ +# pamarith + +> Apply a binary function on two Netpbm images. +> See also: `pamfunc`. +> More information: . + +- 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}}` diff --git a/pages/common/pnmarith.md b/pages/common/pnmarith.md new file mode 100644 index 0000000000..1ae31c67d0 --- /dev/null +++ b/pages/common/pnmarith.md @@ -0,0 +1,8 @@ +# pnmarith + +> This command is superseded by `pamarith`. +> More information: . + +- View documentation for the current command: + +`tldr pamarith`