This program is part of Netpbm.
pnmfile was replaced in Netpbm 10.9 (September 2002) by pamfile.
pamfile is backward compatible with pnmfile, but works on PAM images too.