MAN page from RedHat Other XITE-3.3-3.i386.rpm
BIFF2TIFF
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
biff2tiff, biff2tiff1, biff2tiff8, biff2tiff8p, biff2tiff8c,biff2tiff8s, biff2tiff8sc, biff2tiff16, biff2tiff16c,biff2tiff16s, biff2tiff16sc, biff2tiff32i, biff2tiff32ic,biff2tiff32fp, biff2tiff32fpc, biff2tiff64, biff2tiff64c -Convert a BIFF image to TIFF
SYNTAX
#include <
xite/tiff.h>
int biff2tiff( IMAGE img, TIFF* tif,
int format, Color_cell* coltab, int colLen,
uint16 compression );
int biff2tiff1( IBAND band, TIFF* tif,
uint16 compression, UNS_BYTE threshold );
int biff2tiff8( IBAND band, TIFF* tif,
uint16 compression );
int biff2tiff8p( IBAND band, TIFF* tif,
Color_cell* coltab, int colLen,
uint16 compression );
int biff2tiff8c( IMAGE img, TIFF* tif,
uint16 compression );
int biff2tiff8s( ISB_BAND band, TIFF* tif,
uint16 compression );
int biff2tiff8sc( ISB_IMAGE img, TIFF* tif,
uint16 compression );
int biff2tiff16( IUS_BAND band, TIFF* tif,
uint16 compression );
int biff2tiff16c( IUS_IMAGE img, TIFF* tif,
uint16 compression );
int biff2tiff16s( ISS_BAND band, TIFF* tif,
uint16 compression );
int biff2tiff16sc( ISS_IMAGE img, TIFF* tif,
uint16 compression );
int biff2tiff32i( II_BAND band, TIFF* tif,
uint16 compression );
int biff2tiff32ic( II_IMAGE img, TIFF* tif,
uint16 compression );
int biff2tiff32fp( IR_BAND band, TIFF* tif,
uint16 compression );
int biff2tiff32fpc( IR_IMAGE img, TIFF* tif,
uint16 compression );
int biff2tiff64( ID_BAND band, TIFF* tif,
uint16 compression );
int biff2tiff64c( ID_IMAGE img, TIFF* tif,
uint16 compression );
DESCRIPTION
biff2tiffis a wrapper function that decides which one of theroutines below to use, depending on BIFF image pixeltype andthe value of the parameter
format(RGB, PALETTE, GRAYSCALEor BW).
coltabis the supplied XITE colortable with
colLenentries.
compressionis one of the legal values forthe libtiff tag TIFFTAG_COMPRESSION:
COMPRESSION_NONE
COMPRESSION_PACKBITS
COMPRESSION_LZW
COMPRESSION_CCITTRLE
COMPRESSION_CCITTFAX3
COMPRESSION_CCITTFAX4
Byte-ordering between little-endian and big-endian machinesis handled automatically.
The conversion is according to TIFF specification 6.0and uses the libtiff library by Sam Leffler. This librarymust exist on your system, it is not supplied with XITE.If you get problems with importing XITE-produced TIFF imagesinto other applications, make sure those applications arealso TIFF 6.0 compliant.
Grayscale conversion routines:
biff2tiff1converts an unsigned byte BIFF band to a TIFFbilevel (1-bit samples) image by thresholding at threshold.
biff2tiff8converts an unsigned byte BIFF band to a TIFFgrayscale (8-bit unsigned samples) image.
biff2tiff8sconverts a signed byte BIFF band to a TIFFgrayscale (8-bit signed samples) image.
biff2tiff16converts an unsigned short BIFF band to a TIFFgrayscale (16-bit samples) unsigned short image.
biff2tiff16sconverts a signed short BIFF band to a TIFFgrayscale (16-bit samples) signed short image.
biff2tiff32iconverts a signed integer BIFF band to a TIFFgrayscale (32-bit samples) signed integer image.
biff2tiff32fpconverts a 32-bit floating point BIFF bandto a TIFF grayscale (32-bit samples) floating point image.
biff2tiff64converts a 64-bit floating point BIFF band to aTIFF grayscale (64-bit samples) floating point image.
Palette (pseudocolor) conversion routines:
biff2tiff8pconverts an unsigned byte BIFF band with thecolortable coltabto a TIFF palette image.
RGB conversion routines:
biff2tiff8cconverts a three-band unsigned byte BIFF imageto a TIFF 3*8-bit unsigned byte rgb image.
biff2tiff8scconverts a three-band signed byte BIFF imageto a TIFF 3*8-bit signed byte rgb image.
biff2tiff16cconverts a three-band unsigned short BIFF imageto a TIFF 3*16-bit unsigned short rgb image.
biff2tiff16scconverts a three-band signed short BIFF imageto a TIFF 3*16-bit signed short rgb image.
biff2tiff32icconverts a three-band signed integer BIFF imageto a TIFF 3*32-bit integer rgb image.
biff2tiff32fpcconverts a three-band 32-bit floating pointBIFF image to a TIFF 3*32-bit floating point rgb image.
biff2tiff64cconverts a three-band 64-bit floating pointBIFF image to a TIFF 3*64-bit floating point rgb image.
RETURN VALUE
0 => ok
other => Bad pixel type
SEE ALSO
biff2tiff(1),tiff2biff(1),tiff2biff(3)
AUTHOR
Helene Schulerud and Svein Bøe, BLAB, Ifi, UiO.
ID
$Id: biff2tiff.c,v 1.18 1997/09/01 12:17:11 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RETURN VALUE
- SEE ALSO
- AUTHOR
- ID
This document was created byman2html,using the manual pages.