Leptonica 1.68
C Image Processing Library

pdfiotest.c File Reference

Tests PDF file I/O. More...

#include <string.h>
#include "allheaders.h"

Go to the source code of this file.

Functions

static void GetImageMask (PIX *pixs, l_int32 res, BOXA **pboxa, const char *debugfile)
static PIXQuantizeNonImageRegion (PIX *pixs, PIX *pixm, l_int32 levels)
 main (int argc, char **argv)

Detailed Description

Tests PDF file I/O.

Definition in file pdfiotest.c.


Function Documentation

static void GetImageMask ( PIX pixs,
l_int32  res,
BOXA **  pboxa,
const char *  debugfile 
) [static]
static PIX * QuantizeNonImageRegion ( PIX pixs,
PIX pixm,
l_int32  levels 
) [static]

Definition at line 432 of file pdfiotest.c.

References pixCombineMasked(), pixConvertTo32(), pixConvertTo8(), pixDestroy(), and pixThresholdOn8bpp().

Referenced by main().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines