sunraster2biff

[ XITE Reference Manual | XITE home ]

Name

sunraster2biff - convert sunraster-file to BIFF-file

Syntax

sunraster2biff <sunrasterfile> <BIFF-file> [<BIFF colorfile>]

Description

Convert a sunrasterfile to a BIFF-file. If raster-depth=8 and BIFF colorfile is specified, a colorfile is written.

Restrictions

Accept onlys standard sunraster-files.

Return value

 0 - Ok
 1 - BIFF - error
 2 - Cannot open Sunrasterfile
 3 - Read error
 4 - Write error
 5 - Bad magic number (not a sunrasterfile)
 6 - Bad format (Not standard format)
 7 - Illegal command line

Author

Otto Milvang

Examples

 sunraster2biff sun-raster8/andy.im8 andy.img andy.col
 sunraster2biff sun-raster1/andy.im1 andy.img

Id

$Id: sunraster2biff.c,v 1.32 1997/01/24 15:17:33 svein Exp $