pnm - Netpbm superformat
This program is part of Netpbm(1).
The PNM format is just an abstraction of the PBM, PGM, and PPM formats. I.e. the name 'PNM' refers collectively to PBM, PGM, and PPM.
The more general term 'Netpbm format' refers to the PNM formats plus PAM.
Note that besides being names of formats, PBM, PGM, PPM, and PNM are also classes of programs. A PNM program can take PBM, PGM, or PPM input. That's nothing special -- a PPM program can too. But a PNM program can often produce multiple output formats as well, and a PNM program can see the difference between PBM, PGM, and PPM input and respond to each differently whereas a PPM program sees everything as if it were PPM. This is discussed more in the description of the netpbm programs (1).
'pnm' also appears in the names of the most general Netpbmlibraryroutines(1),someofwhicharen'teven related to the PNM format.
Copyright (C) 1989, 1991 by Jef Poskanzer.