SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Old RedHat 5.X faces-xface-1.6.1-10.i386.rpm

COMPFACE

Section: C Library Functions (3)
Updated: 25 January 1990
Index 

NAME

compface, uncompface - compress and expand 48x48x1 face image files 

SYNOPSIS

compface (buf)

uncompface (buf)

char *buf 

DESCRIPTION

compfaceis a function for generating highly compressed representations of 48x48x1face image files.uncompfaceis an inverse function which performs an inverse transformation with noloss of data.The algorithm used is highly tuned for its purpose and achieves betterthan a five to one compression ratio on average.In both functions, input is via a NULL terminated string and a NULL terminatedoutput string is written over the input string.Bufshould therefore point to a block of 2K size or more to avoid bufferoverruns during output generation.

The input format forcompface(and the output format foruncompface)is 48 lines each of 3 sixteen bit hexadecimal integers, comma terminated in Cinitialiser style.The output format ofcompface(and the input format foruncompface)is some number of lines made up of a space followed by printablecharacters (in the range ``!'' to ``~'' inclusive).The first line contains 72 characters and following lines contain79 characters except that the last line may be short.

The amount of compression obtained varies between face image files butthe output ofcompfaceaverages less than 200 characters.The average number of output lines is three. 

DIAGNOSTICS

The return value is normally 0.1 will be returned if extra input has been ignored during a compress operation.-1 is returned in the case of an invalid input format.-2 is returned if an internal buffer overrun occurs. 

SEE ALSO

Compface(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

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