Bash Cures Cancer
Learn the UNIX/Linux command line

Home     Man Pages     SpamDefeator


				    pamfile

   Updated: 06 August 2000
   Table Of Contents

NAME

   pamfile - describe a Netpbm (PAM or PNM) file

SYNOPSIS

   pamfile [-allimages] [file ...]

DESCRIPTION

   This program is part of Netpbm.

   pamfile   reads   one or more Netpbm files as input and 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.

   By  default,	 pamfile reads only the header of the input file.
If that file is
   a pipe, that might cause problems  for  the	process	 that  is
feeding the pipe.
   In that case, see the -allimages option.

OPTIONS

   -allimages
	  Describe  every  image in each input file. Without this
option, pamfile
	  describes only the first image in each input file.
	  This option also causes pamfile to read all the  images
from the input
	  stream,  whereas  without  it,  pamfile  reads only the
header of the
	  first one. If the input stream is from a pipe, the pro-
cess that is
	  feeding  the pipe might require the entire stream to be
consumed. In
	  that case, use this option even if the stream	 contains
only one
	  image.
	  Note	that  before  July 2000, a file could not contain
more than one
	  image and many programs ignore all but the first.



SEE ALSO

   pam, ppmhist, file

AUTHOR

   Copyright (C) 1991 by Jef Poskanzer.
     _________________________________________________________________



Table Of Contents

     * NAME
     * SYNOPSIS
     * DESCRIPTION
     * OPTIONS
     * SEE ALSO
     * AUTHOR






























































UNIX/Linux commands referenced on this page:
  1. more
  2. as
  3. size
  4. file
  5. ppmhist