phpman > man > pamfile(1)

Markdown | JSON | MCP    

TLDR: pamfile (tldr-pages)

Describe Netpbm (PAM or PNM) files.

  • Describe the specified Netpbm files
    pamfile {{path/to/file1 path/to/file2 ...}}
  • Describe every image in each input file (as opposed to only the first image in each file) in a machine-readable format
    pamfile {{-a|-allimages}} -machine {{path/to/file}}
  • Display a count on how many images the input files contain
    pamfile {{-cou|-count}} {{path/to/file}}
pamfile(1)                             General Commands Manual                            pamfile(1)



NAME
       pamfile - describe a Netpbm (PAM or PNM) file

SYNOPSIS
       pamfile [-allimages] [file ...]


DESCRIPTION
       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.


OPTIONS
       -allimages
              Describe  every image in each input file.  Without this option, pamfile describes only
              the first image in each input file.  Note that before July 2000, a file could not con‐
              tain more than one image and many programs ignore all but the first.


SEE ALSO
       pam(5), file(1)


AUTHOR
       Copyright (C) 1991 by Jef Poskanzer.



                                           06 August 2000                                 pamfile(1)

Generated by phpman local Author: Che Dong Under GNU General Public License
2026-06-15 06:25 @216.73.216.200
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!