PNMCUT



		

NAME

      pnmcut - cut a rectangle out of a portable anymap

SYNOPSIS

      pnmcut x y width height [pnmfile]

DESCRIPTION

      Reads a portable anymap as input.  Extracts the specified rectangle,
      and produces a portable anymap as output.

DEMONSTRATION

      Let a.pnm be a portable anymap.
      The following command will cut a rectangle out of it
	pnmmerge pnmcut 164 135 100 100 a.pnm >arect.pnm

BEFORE

AFTER


		

SEE ALSO

      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.