biff2raw
[ XITE Reference Manual | XITE home ]
Name
biff2raw - write part of an image as raw, binary data
Syntax
biff2raw [<option>...] <inimage> <outfile>
biff2raw [<option>...] -o <outfile> <inimage>
Description
Writes all pixel values in all bands of inimage to
outfile. Use - for outfile to write to stdout.
Accepts all pixel types. The image is written in
samples-lines-bands order.
Options
-
-o file
- Send dump to file. This option is retained for backwards
compatibility.
-
-pgm
- Start with a pgm header. This option is obsolete. Use
biff2pnm instead.
-
-xstart xstart
- Start dump at xstart. Default 1.
-
-ystart ystart
- Start dump at ystart. Default 1.
-
-xstop xstop
- Stop dump at xstop. Default xsize.
-
-ystop ystop
- Stop dump at ystop. Default ysize.
-
-xsize xsize
- Horizontal window size.
-
-ysize ysize
- Vertical window size.
If start, stop as well as size options are given, and
inconsistently, the stop option is ignored. The given
sizes are clipped against the band.
See also
raw2biff(1)
Restrictions
Writing (biff2raw) and reading (raw2biff) on hosts
with different byte order will only work for byte images.
Use option -swap for raw2biff to change the byte order.
Author
Tor Lønnestad, BLAB, Ifi, UiO
Id
$Id: biff2raw.c,v 1.32 1997/03/18 11:54:10 svein Exp $
Examples
biff2raw -o mona.raw mona.img
biff2raw -xstart 10 -ystart 45 -xstop 20 -ystop 70 \\
mona.img