DOKK / manpages / debian 11 / netpbm / pnmfile.1.en
pnmfile(1) General Commands Manual pnmfile(1)

pnmfile - describe a portable anymap

pnmfile [-allimages] [pnmfile ...]

Reads one or more Netpbm files as input. Writes out short descriptions of the image type, size, etc. This is mostly for use in shell scripts, so the format is not particularly pretty.

Describe every image in each input file. Without this option, pnmfile describes only the first image in each input file. Note that before July 2000, a file could not contain more than one image and many programs ignore all but the first.

pnm(5), file(1)

Copyright (C) 1991 by Jef Poskanzer.

18 June 2000