tiff2biff
[ XITE Reference Manual | XITE home ]
Contents
Name
tiff2biff, tiff2biff1, tiff2biff1p, tiff2biff2, tiff2biff2p,
tiff2biff4, tiff2biff4p, tiff2biff8, tiff2biff8p,
tiff2biff8c, tiff2biff16, tiff2biff16c, tiff2biff32i,
tiff2biff32ic, tiff2biff32fp, tiff2biff32fpc,
tiff2biff64, tiff2biff64c -
Convert a TIFF image to a BIFF image
#include <xite/tiff.h>
IMAGE tiff2biff( TIFF* tif,
Color_cell** coltab, int* numColors );
void tiff2biff1( IBAND band, TIFF* tif,
uint32 rows, uint32 cols, uint16 fillorder,
int minisblack );
void tiff2biff1p( IBAND band, TIFF* tif,
uint32 rows, uint32 cols, uint16 fillorder,
uint16* redmap, uint16* greenmap,
uint16* bluemap, Color_cell** coltab,
uint16 bps, int* numColors );
void tiff2biff2( IBAND band, TIFF* tif,
uint32 rows, uint32 cols, int minisblack,
double maxval );
void tiff2biff2p( IBAND band, TIFF* tif,
uint32 rows, uint32 cols, uint16* redmap,
uint16* greenmap, uint16* bluemap,
Color_cell** coltab, uint16 bps,
int* numColors );
void tiff2biff4( IBAND band, TIFF* tif,
uint32 rows, uint32 cols, int minisblack,
double maxval );
void tiff2biff4p( IBAND band, TIFF* tif,
uint32 rows, uint32 cols, uint16* redmap,
uint16* greenmap, uint16* bluemap,
Color_cell** coltab, uint16 bps,
int* numColors );
void tiff2biff8( IBAND band, TIFF* tif,
uint32 rows, uint32 cols, int minisblack,
double maxval );
void tiff2biff8p( IBAND band, TIFF* tif,
uint32 rows, uint32 cols, uint16* redmap,
uint16* greenmap, uint16* bluemap,
Color_cell** coltab, uint16 bps,
int* numColors );
void tiff2biff8c( IMAGE img, TIFF* tif,
uint32 rows, uint32 cols );
void tiff2biff16( IUS_BAND band, TIFF* tif,
uint32 rows, uint32 cols );
void tiff2biff16c( IUS_IMAGE img, TIFF* tif,
uint32 rows, uint32 cols );
void tiff2biff32i( II_BAND band, TIFF* tif,
uint32 rows, uint32 cols );
void tiff2biff32ic( II_IMAGE img, TIFF* tif,
uint32 rows, uint32 cols );
void tiff2biff32fp( IR_BAND band, TIFF* tif,
uint32 rows, uint32 cols );
void tiff2biff32fpc( IR_IMAGE img, TIFF* tif,
uint32 rows, uint32 cols );
void tiff2biff64( ID_BAND band, TIFF* tif,
uint32 rows, uint32 cols );
void tiff2biff64c( ID_IMAGE img, TIFF* tif,
uint32 rows, uint32 cols );
tiff2biff is a wrapper function that decides which one of
the routines below to use, depending on what kind the TIFF
image is (bi-level, grayscale, palette or rgb). In the case
of a palette image, the parameters coltab and numColors
reflect the palette colormap.
Byte-ordering between little-endian and big-endian machines
is handled automatically.
The conversions are according to TIFF specification 6.0
and use the libtiff library by Sam Leffler. This library
must exist on your system, it is not supplied with XITE.
If you get problems with importing TIFF images from other
applications, make sure those applications are also TIFF
6.0 compliant.
TIFF grayscale images:
tiff2biff1 converts a TIFF bi-level (black-and-white,
1-bit samples) image to a BIFF unsigned byte band.
tiff2biff2 converts a TIFF grayscale (2-bit samples)
image to a BIFF unsigned byte band.
tiff2biff4 converts a TIFF grayscale (4-bit samples)
image to a BIFF unsigned byte band.
tiff2biff8 converts a TIFF grayscale (8-bit samples)
image to a BIFF unsigned byte band.
tiff2biff16 converts an unsigned short TIFF image to an
unsigned short BIFF band.
tiff2biff32i converts a signed integer TIFF image to a
signed integer BIFF band
tiff2biff32fp converts a 32-bit floating point TIFF image
to a REAL BIFF band
tiff2biff64 converts a 64-bit floating point TIFF image
to a DOUBLE BIFF band
TIFF palette (pseudocolor) images:
tiff2biff1p converts a TIFF bi-level (1-bit samples)
palette image to a BIFF unsigned byte band and colortable.
tiff2biff2p converts a TIFF palette (2-bit samples)
image to a BIFF unsigned byte band and colortable.
tiff2biff4p converts a TIFF palette (4-bit samples)
image to a BIFF unsigned byte band and colortable.
tiff2biff8p converts a TIFF palette (8-bit samples)
image to a BIFF unsigned byte band and colortable.
TIFF rgb color images:
tiff2biff8c converts an unsigned byte TIFF 3*8-bit rgb
image to a BIFF unsigned byte three-band image
tiff2biff16c converts an unsigned short TIFF 3*16-bit rgb
image to an unsigned short three-band BIFF image
tiff2biff32ic converts a signed integer 3*16-bit rgb
TIFF image to a signed integer three-band BIFF image
tiff2biff32fpc converts a 32-bit floating point rgb TIFF
image to a REAL BIFF three-band image
tiff2biff64c converts a 3*64-bit floating point rgb TIFF
image to a DOUBLE BIFF three-band image
tiff2biff(1), biff2tiff(1), biff2tiff(3)
Helene Schulerud and Svein Bøe, Blab, Ifi, UiO
$Id: tiff2biff.c,v 1.14 1997/04/10 12:19:34 svein Exp $