GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BWCROP(1) BRL-CAD BWCROP(1)

bwcrop - crop black and white bw files

bwcrop in.bw out.bw

bwcrop in.bw out.bw inwidth outwidth outheight ulx uly urx ury lrx lry llx lly

bwcrop crops any quadrilateral out of an arbitrarily large bw(5) input file (in.bw), squares that region to a given height and width output size, and writes the result to out.bw. The first form of bwcrop prompts for all parameters it needs to do the cropping. All responses should be pixel counts or first quadrant coordinates. 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.

brlcad(1), bwrect(1), bwscale(1), bw(5)

BRL-CAD Team

This software is Copyright (c) 1989-2019 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 devs@brlcad.org
06/07/2022 BRL-CAD

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.