MAN page from Mandrake Other XITE-3.3-3.i386.rpm
BIFF2RAW
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
biff2raw - write a biff band to a raw data file
SYNTAX
#include <
xite/convert.h>
int biff2raw( IBAND band, char* filename,
char* type, int pgm );
DESCRIPTION
biff2rawdumps the contents of
bandas raw, binarydata to the file
filename.Give filename = "",
-or NULLfor writing to stdout. The band is written in samples-linesorder.
typemay be one of:
- w
- Truncate or create for writing.
- a
- Append; open for writing at end of file, or create for writing.
If pgmis true, a pgm header is written before the data.
Accepts tilde in file name. Accepts all pixel types.
RESTRICTIONS
Writing (
biff2raw)and reading (
raw2biff)on hostswith different byte order will only work for byte bands.
RETURN VALUE
0 - ok
1 - bad 'type' argument, should be "w" or "a"
2 - could not open file
3 - could not write the whole band
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
ID
$Id: biff2raw.c,v 1.32 1997/03/18 11:54:10 svein Exp $ $Revision: 1.32 $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- RETURN VALUE
- AUTHOR
- ID
This document was created byman2html,using the manual pages.