Tiff Api - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

TIFF API

The TIFF API allows the application to generate a TIFF file from previously
captured signature data. It is normally called after the call to SigCapGet().
The API requires the presence of libtiff.so which is built and distributed by
Verifone from a publicly available library distribution. The library distribution files
are not changed in any way by Verifone; we simply run a special configuration and
build to reflect the functionality we need extracted from the library. This allows us
to easily take advantage of new releases of the library.
The library comes with 4 application header files: tiffvers.h, tiffconf.h,
tiffio.h, and tiff.h which are built when the library gets configured and built
and should not be altered in any way as any rebuilds of the library might invalidate
or overwrite them. Applications using libtiff uses #include tiffio.h, which
automatically includes the other 3 files.
We have enabled the main features such as the CCITTFAX4 compression which
is currently used in previous Verifone products. Enabling every feature would have
resulted in a much larger libtiff file. JPEG, for example, is not included.
Verifone also supplies libvfisigtiff.so to provide a wrapper allowing easy
use of the library for typical Verifone applications. The functionality provided in
libvfisigtiff is as follows:
#include "sigtiff.h" which prototypes the following:
typedef struct {
} __attribute__((packed)) xy_t;
It continues with:
typedef struct
{
} SigCapBox_t;
typedef struct
{
} SigCapOptions_t;
short x;
short y;
short left,upper,right,lower;
long joinPoints: 1;
long trimWidth: 1;
long trimHeight: 1;
long unused: 29;
D
X
M
800 S
P
ERIES
ROGRAMMERS
D
EVICE
RIVERS
TIFF API
127
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents