Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

Plan 9 - man page for bbox (plan9 section 9)

BBOX(9.1)										BBOX(9.1)

NAME
       bbox - compute bounding rectangle

SYNOPSIS
       fb/bbox [ -s ] [ -cchannel ] [ -vvalue ] [ picture ]

DESCRIPTION
       Bbox reads the given picture file (default standard input) and prints on its standard out-
       put the minimum bounding box of the interesting pixels of the image.  `Interesting' pixels
       are  those  for	which  a given channel, specified by the -c option, does not have a given
       value, specified by the -v option.  -v defaults to 0, and -c defaults  to  the  a  channel
       (letter 'a' in the CHAN= header line) if the image contains one, or the `m' channel other-
       wise.  If the image has neither a nor `m', option -c is not optional.  By default,  there-
       fore,  bbox prints the bounding box of the visible parts of an image with an a channel, or
       the non-black parts of a monochrome image.

       Option -s causes bbox to instead copy its input to standard output, clipping the image  to
       the bounding rectangle.

SOURCE
       /sys/src/fb/bbox.c

SEE ALSO
       picfile(9.6)

											BBOX(9.1)


All times are GMT -4. The time now is 12:53 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password