biffDump

[ XITE Reference Manual | XITE home ]

Name

biffDump - dump a part of an image to stdout or file

Note

This program is replaced by biff2raw and biff2ascii, these should be used in stead. biffDump will be removed some day.

Syntax

 biffDump [-o <file>] [-c] [-b]
    <image> <xstart> <ystart> <xsize> <ysize>

Description

Writes all pixel values in the specified window to stdout or specified <file>. Can only dump a part of first band, specify "filename:n" as input image to dump a part of band n.

Switches:

 -o <file> : send dump to <file>
 -c        : include a coordinate system in the dump
 -b        : dump bytes binary (default: formatted)

Arguments:

 image - input image to be dumped
 xstart - horizontal start of window to be dumed
 ystart - vertical start of window to be dumped
 xsize - horizontal size of window to be dumped
 ysize - vertical size of window to be dumped

Files

See also

biff2raw(1), biff2ascii(1)

Diagnostics

Restrictions

Assuming BIFF file with UNS_BYTE pixels.

Author

Tor Loennestad, BLAB, ifi, UiO

Id

$Id: biffDump.c,v 1.21 1996/11/08 14:03:09 svein Exp $

Examples

 biffDump mona.img -c 10 45 20 70
    # (suitable for human reading)
 biffDump mona.img -o mona -b 10 45 20 70
    # (suitable for computer reading)