pnmfile
Display information about PNM image files
TLDR
Show image information
$ pnmfile [image.pnm]
Show info for multiple files$ pnmfile [file1.pnm] [file2.pnm]
Machine-readable output$ pnmfile -machine [image.pnm]
SYNOPSIS
pnmfile [options] [files]
DESCRIPTION
pnmfile displays information about PNM image files including the format type (PBM, PGM, or PPM), dimensions (width and height), maximum sample value, and whether the file uses ASCII or binary encoding.
The -machine flag outputs in a parseable format suitable for scripting. Part of the Netpbm toolkit; superseded by pamfile.
PARAMETERS
FILES
Input PNM files.-machine
Machine-readable output format.
CAVEATS
Only reads PNM format files. Part of Netpbm suite.
HISTORY
pnmfile was created as part of Netpbm for image inspection.
