---
name: "pnmarith"
section: "1"
platform: "linux"
package: "netpbm"
version: "10.86.51-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pnmarith"
---

# pnmarith(1)

replaced by pamarith

## NAME

pnmarith - replaced by pamarith

## DESCRIPTION

This program is part of **Netpbm**(1) .

Starting with Netpbm 10.3, **pnmarith** is obsolete.  Use [**pamarith**(1)](/pamarith/1.md)  instead.

**pamarith** is backward compatible with **pnmarith** except where your input images have different depths.  **pnmarith** would convert the one with the lesser depth to have the higher depth before doing the arithmetic.  With **pamarith**, you must do that step separately, using **pgmtoppm**.

## DOCUMENT SOURCE

This manual page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation is at

-

  **http://netpbm.sourceforge.net/doc/pnmarith.html**
