bwcrop — crop black and white bw files
crops any quadrilateral out of an arbitrarily large
squares that region to a given height and width output size,
and writes the result to
The first form of
prompts for all parameters it needs to do the cropping.
All responses should be pixel counts or first
The second form allows all of the needed parameters to be given
on the command line and is intended for use from shell scripts.
The coordinate names (the eight arguments listed above after
outheight) refer to the input file,
and more specifically to upper-left-x (ulx), lower-right-y (lry), etc.,
in clockwise-from-upper-left order.
The nearest input pixel is selected for each output pixel. No interpolation is done by this program.
This software is Copyright (c) 1989-2016 by the United States Government as represented by U.S. Army Research Laboratory.