MAN page from RedHat Other XITE-3.3-3.i386.rpm
BIFF2SUNRASTER
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
biff2sunraster - convert BIFF-file to sunraster-file
SYNTAX
biff2sunraster [-t <v>] <BIFF-file> <sunraster-file> \
[<colfile>]
DESCRIPTION
Convert a
BIFF-fileto a
sunraster-file.Use the BIFFcolortable in
colfileif the
colfileargument issupplied.
If the pixeltype of BIFF-fileis not unsigned byte, theimage will be converted to unsigned byte before conversion tosunraster. The pixeltype conversion does not imply anyscaling. Values too large (or to small) to be represented bythe new pixeltype are set to the maximum (or minimum) possiblevalue. A warning is issued to this effect.
OPTIONS
- -t v
- Threshold the input image at the value vand write asunraster file of depth 1. Default: Depth 8, nothresholding.
RESTRICTIONS
Images with pixeltype different from unsigned byte will beconverted to unsigned byte, without any prior scaling.
RETURN VALUE
0 - Ok
1 - Error in handling BIFF-file
2 - Cannot open Sunrasterfile
3 - Write error on Sunrasterfile
4 - BIFF file must have 1 band
5 - Illegal BIFF pixeltype
6 - Memory allocation error
7 - Illegal command-line
AUTHOR
Otto Milvang
EXAMPLES
biff2sunraster sun-raster8/andy.im8 andy.img andy.col
biff2sunraster -t 120 sun-raster1/andy.im1 andy.img
ID
$Id: biff2sunraster.c,v 1.35 1997/01/09 16:46:17 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- RESTRICTIONS
- RETURN VALUE
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.