biffcopy

[ XITE Reference Manual | XITE home ]

Name

biffcopy - copy a biff file

Syntax

 biffcopy [-band <bandspec> [-band <bandspec>]...]
     <infile> [<outfile>...]

Description

Copy an imagefile from infile to outfile. If you specify "*" as infile, the program will prompt for an infile name. If you don't specify outfile, the program will promt for outfilename. If more than one outfile is specified, the image is duplicated to all outfiles.

This program is useful when you want to extract one or more bands from an image, when you want to use it in a pipe or execute it from a program.

Options

-band <bandspec> is used when only some of the bands should be copied. The bandspec is a list of bands or band-intervals separated by ":". A band-interval is specified by start-stop.

Author

Otto Milvang

Examples

 biffcopy mona.img -                ; pipe to stdout
 biffcopy - cp.img -                ; copy stdin to stdout
                                    ;  and to file cp.img
 biffcopy monacol.img:2 monab2.img  ; copy band 2
 biffcopy -band 2:3-1:3 - -         ; copy band 2,3,2,1,3
                                    ; from stdin to stdout

Id

$Id: biffcopy.c,v 1.27 1996/12/27 14:25:42 svein Exp $