SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Mandrake Other XITE-3.3-3.i386.rpm

TIFF2BIFF

Section: C Library Functions (3)
Updated: 16 Mar 1998
Index

 

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

 

SYNTAX


 #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 );

 

DESCRIPTION

tiff2biffis a wrapper function that decides which one ofthe routines below to use, depending on what kind the TIFFimage is (bi-level, grayscale, palette or rgb). In the caseof a palette image, the parameters coltaband numColorsreflect the palette colormap.

Byte-ordering between little-endian and big-endian machinesis handled automatically.

The conversions are according to TIFF specification 6.0and use the libtiff library by Sam Leffler. This librarymust exist on your system, it is not supplied with XITE.If you get problems with importing TIFF images from otherapplications, make sure those applications are also TIFF6.0 compliant.

TIFF grayscale images:

tiff2biff1converts a TIFF bi-level (black-and-white,1-bit samples) image to a BIFF unsigned byte band.

tiff2biff2converts a TIFF grayscale (2-bit samples)image to a BIFF unsigned byte band.

tiff2biff4converts a TIFF grayscale (4-bit samples)image to a BIFF unsigned byte band.

tiff2biff8converts a TIFF grayscale (8-bit samples)image to a BIFF unsigned byte band.

tiff2biff16converts an unsigned short TIFF image to anunsigned short BIFF band.

tiff2biff32iconverts a signed integer TIFF image to asigned integer BIFF band

tiff2biff32fpconverts a 32-bit floating point TIFF imageto a REAL BIFF band

tiff2biff64converts a 64-bit floating point TIFF imageto a DOUBLE BIFF band

TIFF palette (pseudocolor) images:

tiff2biff1pconverts a TIFF bi-level (1-bit samples)palette image to a BIFF unsigned byte band and colortable.

tiff2biff2pconverts a TIFF palette (2-bit samples)image to a BIFF unsigned byte band and colortable.

tiff2biff4pconverts a TIFF palette (4-bit samples)image to a BIFF unsigned byte band and colortable.

tiff2biff8pconverts a TIFF palette (8-bit samples)image to a BIFF unsigned byte band and colortable.

TIFF rgb color images:

tiff2biff8cconverts an unsigned byte TIFF 3*8-bit rgbimage to a BIFF unsigned byte three-band image

tiff2biff16cconverts an unsigned short TIFF 3*16-bit rgbimage to an unsigned short three-band BIFF image

tiff2biff32icconverts a signed integer 3*16-bit rgbTIFF image to a signed integer three-band BIFF image

tiff2biff32fpcconverts a 32-bit floating point rgb TIFFimage to a REAL BIFF three-band image

tiff2biff64cconverts a 3*64-bit floating point rgb TIFFimage to a DOUBLE BIFF three-band image

 

SEE ALSO

tiff2biff(1),biff2tiff(1),biff2tiff(3)

 

AUTHOR

Helene Schulerud and Svein Bøe, Blab, Ifi, UiO

 

ID

$Id: tiff2biff.c,v 1.14 1997/04/10 12:19:34 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
SEE ALSO
AUTHOR
ID

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector