.TH FBMASK 1 25-Jun-90
.CM 3
.SH NAME
fbmask \- mask a rectangle in a grayscale file
.SH SYNOPSIS
.nf
fbmask [ -<type> ] x0 y0 x1 y1 value < 8bit > 8bit
.fi
.SH DESCRIPTION
.PP
Paints the specified gray value
.I val
in a rectangle starting at
.I x
and
.I y
with the given 
.I width
and
.I height.
.PP
.SH EXAMPLE
To put a 50 pixel wide black border around a 640 by 480 pixel grayscale
image, you could use the following pipeline (which outputs a Sun
rasterfile):
.sp
.nf
    % fbmask   0   0  50 480 0 < foo.8bit |
      fbmask   0   0 640  50 0 < foo.8bit |
      fbmask   0 430 640 480 0 < foo.8bit |
      fbmask 590   0 640 480 0 < foo.8bit > bar.8bit
.fi
.sp
.SH SEE ALSO
fbm(1) for general discussion, pbm(1) for PBM routines.
.SH BUGS
None known.
.SH HISTORY
Copyright (C) 1989,1990 by Michael Mauldin.  Permission is granted
to use this file in whole or in part for any purpose, educational,
recreational or commercial, provided that this copyright notice
is retained unchanged.  This software is available to all free of
charge by anonymous FTP and in the UUNET archives.
.TP
25-Jun-90  Michael Mauldin at Carnegie Mellon University
Release 1.0 mlm@cs.cmu.edu
.TP
07-Mar-89  Michael L. Mauldin at Carnegie Mellon University
Beta release (version 0.9) mlm@cs.cmu.edu
