PNMCROP



		

NAME

      pnmcrop - crop a portable anymap

SYNOPSIS

      pnmcrop [-white|-black] [pnmfile]

DESCRIPTION

      Reads a portable anymap as input.  Removes edges that are the
      background color, and produces a portable anymap as output.  By
      default, it makes a guess as to what the background color is.  You can
      override the default with the -white and -black flags.
      All flags can be abbreviated to their shortest unique prefix.

DEMONSTRATION

      Let a.pnm be a portable anymap.
      The following command will crop it
	pnmmerge pnmcrop a.pnm >acrop.pnm

BEFORE

AFTER


		

SEE ALSO

      pnmcut(1), pnm(5)

AUTHOR

      Copyright (C) 1989 by Jef Poskanzer.
      Permission to use, copy, modify, and distribute this software and its
      documentation for any purpose and without fee is hereby granted,
      provided that the above copyright notice appear in all copies and that
      both that copyright notice and this permission notice appear in
      supporting documentation.  This software is provided "as is" without
      express or implied warranty.