MAN page from Mandrake Other XITE-3.3-3.i386.rpm
BIFFINFO
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
biffinfo - extract information from biff-file
SYNTAX
biffinfo [-f] [-t] [-b] [-u] [-h] [-i] [c] [-n <band>] \
[<filename>...] [<dirname>...]
DESCRIPTION
biffinforeads the info block of one or more images or allimages in a directory. If no options are given, the info willbe written formatted. See example.
OPTIONS
If one or more options are specified (exept -i and -c)the output will be unformatted.
- -f
- Print the filename
- -b
- Print number of bands
- -n band
- Print info for band
band pixtyp xsize ysize xstart ystart xmag ymag - -u
- Print info for all bands
- -t
- Print the image title
- -h
- Print text (history) block
- -i
- Print images only
- -c
- Print colortables only
You may specify more than one options.In unformatted output, the rules are:
- .I -n
- or -uis specifiedCombine -f -b -n -u -t to one output line/band.
<filename> <bands> <bandinfo> <title>
Print text (-h) - Otherwise:
- Combine -f -b -t to one line/image
<filename> <bands> <title>
Print text (-h)
RETURN VALUE
0 = success, 2 = failure
AUTHOR
Tor Lønnestad and Otto Milvang
EXAMPLES
1. Type out all info about a biff-file
>> biffinfo mona.img
Filename : mona.img
Title : MONA
Bands : 3
Textlen : 0
Band : Pixeltype Xsize Ysize Xstart Ystart Xmag Ymag
1 uns_byte 512 512 1 1 1 1
2 uns_byte 512 768 1 1 1 1
3 uns_byte 256 256 1 1 1 1
Textfield :
Fri Jan 11 15:54:05 1991 addw Weight1: 1.00 Weight2: 1.00
2. Print out the nuber of bands in mona.img
>> biffinfo -b mona.img
3
3. Print title of 2 images sent as standard input
cat mona1.img mona2.img | biffinfo -t - -
MONA 1
MONA 2
4. Formattet output: filename bands bandinfo
>> biffinfo -fbu mona.img
mona.img 3 1 3 512 512 1 1 1 1
mona.img 3 2 3 512 768 1 1 1 1
mona.img 3 3 3 256 256 1 1 1 1
5. List all images in a directory
>> biffinfo -if /local/blab/img
/local/blab/mona.img
/local/blab/mona1.img
/local/blab/mona2.img
ID
$Id: biffinfo.c,v 1.33 1997/07/11 14:18:52 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- RETURN VALUE
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.