FBMASK
Section: User Commands (1)
Updated: 07-Mar-89
Index
Return to Main Contents
NAME
fbmask - mask a rectangle in a grayscale file
SYNOPSIS
fbmask [ -<type> ] x0 y0 x1 y1 value < 8bit > 8bit
DESCRIPTION
Paints the specified gray value
val
in a rectangle starting at
x
and
y
with the given
width
and
height.
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):
% 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
SEE ALSO
fbm(1) for general discussion, pbm(1) for PBM routines.
BUGS
None known.
HISTORY
Copyright (c) 1989 by Michael L. Mauldin.
Permission is granted to use this program in whole or in part provided
that you do not sell it for profit and that this copyright notice is
retained unchanged.
- 07-Mar-89 Michael L. Mauldin at Carnegie Mellon University
-
Beta release (version 0.9) mlm@cs.cmu.edu
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLE
-
- SEE ALSO
-
- BUGS
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 06:39:47 GMT, December 12, 2024