|bwrect infile outfile|
Bwrect extracts a rectangular region from a black and white bw(5) format file. The program prompts for the area to extract in x and y pixels, the scanline length of the input file in pixels, and the origin in the input file from which to extract. First quadrant coordinates and file storage format are used.
brlcad(1), bwcrop(1), bwscale(1), pixrect(1), bw(5)
We ought to allow the questions to be answered on the command line so that shell scripts, etc., could use this.
This software is Copyright (c) 1989-2013 by the United States Government as represented by U.S. Army Research Laboratory.
Reports of bugs or problems should be submitted via electronic mail to <firstname.lastname@example.org>.