diff options
author | Deposite Pirate | 2018-09-16 22:54:11 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 22:54:11 +0200 |
commit | 1c7d481d0104add72933c560d957a422e8636d84 (patch) | |
tree | 2ef71132559dd018c453f4617d92ce69394e42f0 /compface.c |
Initial commit.
Diffstat (limited to 'compface.c')
-rw-r--r-- | compface.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/compface.c b/compface.c new file mode 100644 index 0000000..90664c4 --- /dev/null +++ b/compface.c @@ -0,0 +1,35 @@ +/* + * 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 + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "compface_private.h" + +int +compface(fbuf) +char *fbuf; +{ + if (!(status = setjmp(comp_env))) + { + ReadFace(fbuf); + GenFace(); + CompAll(fbuf); + } + return status; +} |