home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
SRC
/
TO_PORT
/
compfacelib.lzh
/
uncompface.c
< prev
Wrap
C/C++ Source or Header
|
1992-04-30
|
713b
|
31 lines
/*
* Compface - 48x48x1 image compression and decompression
*
* Copyright (c) James Ashton - Sydney University - June 1990.
*
* Written 11th November 1989.
*
* Permission is given to distribute these sources, as long as the
* copyright messages are not removed, and no monies are exchanged.
*
* No responsibility is taken for any errors on inaccuracies inherent
* either to the comments or the code of this program, but if reported
* to me, then an attempt will be made to fix them.
*/
#define MAIN
#include "compface.h"
uncompface(fbuf)
char *fbuf;
{
if (!(status = setjmp(comp_env)))
{
UnCompAll(fbuf);/* compress otherwise */
UnGenFace();
WriteFace(fbuf);
}
return status;
}