## NAME

         libcompress -  CVIPtools  core  toolbox  library  for  image
         compression and decompression routines

## SYNOPSIS

          #include <CVIPtoolkit.h>
          #include <CVIPdef.h>
          #include <CVIPimage.h>
          #include <CVIPconvert.h>
          #include <CVIPcompress.h>

         See the individual function man page for details  and  exam-
         ples.

## PATH

         $CVIPHOME/COMPRESSION

## FUNCTIONS

         The following functions are included in libcompress:

                        bit_compress, bit_decompress,
                        bit_planeadd
                        btc_compress, btc_decompress
                        btc2_compress, btc2_decompress
                        btc3_compress, btc3_decompress
                        dpc_compress, dpc_decompress
                        glr_compress, glr_decompress
                        huf_compress, huf_decompress
                        jpg_compress, jpg_decompress
                        rms_error, snr
                        zon_compress, zon_decompress
                        zon2_compress, zon2_decompress
                        zvl_compress, zvl_decompress

         Each of the compress function accepts a pointer to an Image,
         and  a  filename in which the compressd data will be stored,
         and other parameters depending on different algorithms.  The
         functions  will  release  the memory of the input Image, but
         won't delete the memory by the string of filename.

         Each  of the decompress function takes a  single  parameter,
         the  file  name of the compressed data. The decompress func-
         tions won't  release  the  memory  occupied  by  the  string
         "filename".

## TYPES AND CONSTANTS

         See individual function man pages

## RETURN VALUES

         compress functions: 0 on success, -1 on failure

         decompress functions: an uncompressed image pointer on  suc-
         cess, a NULL pointer on failure

## SEE ALSO

         CVIPcompress.h

## AUTHOR

         Copyright (C) 1996 SIUE - by Scott E Umbaugh.