36#include <config_auto.h>
39#include "allheaders.h"
47l_ok convertFilesToPdf(
const char *dirname,
const char *substr,
48 l_int32 res, l_float32 scalefactor,
49 l_int32 type, l_int32 quality,
50 const char *title,
const char *fileout)
52 return ERROR_INT(
"function not present", __func__, 1);
57l_ok saConvertFilesToPdf(
SARRAY *sa, l_int32 res, l_float32 scalefactor,
58 l_int32 type, l_int32 quality,
59 const char *title,
const char *fileout)
61 return ERROR_INT(
"function not present", __func__, 1);
66l_ok saConvertFilesToPdfData(
SARRAY *sa, l_int32 res,
67 l_float32 scalefactor, l_int32 type,
68 l_int32 quality,
const char *title,
69 l_uint8 **pdata,
size_t *pnbytes)
71 return ERROR_INT(
"function not present", __func__, 1);
76l_ok selectDefaultPdfEncoding(
PIX *pix, l_int32 *ptype)
78 return ERROR_INT(
"function not present", __func__, 1);
83l_ok convertUnscaledFilesToPdf(
const char *dirname,
const char *substr,
84 const char *title,
const char *fileout)
86 return ERROR_INT(
"function not present", __func__, 1);
91l_ok saConvertUnscaledFilesToPdf(
SARRAY *sa,
const char *title,
94 return ERROR_INT(
"function not present", __func__, 1);
99l_ok saConvertUnscaledFilesToPdfData(
SARRAY *sa,
const char *title,
100 l_uint8 **pdata,
size_t *pnbytes)
102 return ERROR_INT(
"function not present", __func__, 1);
107l_ok convertUnscaledToPdfData(
const char *fname,
const char *title,
108 l_uint8 **pdata,
size_t *pnbytes)
110 return ERROR_INT(
"function not present", __func__, 1);
115l_ok pixaConvertToPdf(
PIXA *pixa, l_int32 res, l_float32 scalefactor,
116 l_int32 type, l_int32 quality,
117 const char *title,
const char *fileout)
119 return ERROR_INT(
"function not present", __func__, 1);
124l_ok pixaConvertToPdfData(
PIXA *pixa, l_int32 res, l_float32 scalefactor,
125 l_int32 type, l_int32 quality,
const char *title,
126 l_uint8 **pdata,
size_t *pnbytes)
128 return ERROR_INT(
"function not present", __func__, 1);
133l_ok convertToPdf(
const char *filein,
134 l_int32 type, l_int32 quality,
136 l_int32 x, l_int32 y, l_int32 res,
140 return ERROR_INT(
"function not present", __func__, 1);
145l_ok convertImageDataToPdf(l_uint8 *imdata,
size_t size,
146 l_int32 type, l_int32 quality,
148 l_int32 x, l_int32 y, l_int32 res,
152 return ERROR_INT(
"function not present", __func__, 1);
157l_ok convertToPdfData(
const char *filein,
158 l_int32 type, l_int32 quality,
159 l_uint8 **pdata,
size_t *pnbytes,
160 l_int32 x, l_int32 y, l_int32 res,
164 return ERROR_INT(
"function not present", __func__, 1);
169l_ok convertImageDataToPdfData(l_uint8 *imdata,
size_t size,
170 l_int32 type, l_int32 quality,
171 l_uint8 **pdata,
size_t *pnbytes,
172 l_int32 x, l_int32 y, l_int32 res,
176 return ERROR_INT(
"function not present", __func__, 1);
181l_ok pixConvertToPdf(
PIX *pix, l_int32 type, l_int32 quality,
183 l_int32 x, l_int32 y, l_int32 res,
187 return ERROR_INT(
"function not present", __func__, 1);
192l_ok pixWriteStreamPdf(FILE *fp,
PIX *pix, l_int32 res,
const char *title)
194 return ERROR_INT(
"function not present", __func__, 1);
199l_ok pixWriteMemPdf(l_uint8 **pdata,
size_t *pnbytes,
PIX *pix,
200 l_int32 res,
const char *title)
202 return ERROR_INT(
"function not present", __func__, 1);
207l_ok convertSegmentedFilesToPdf(
const char *dirname,
const char *substr,
208 l_int32 res, l_int32 type, l_int32 thresh,
209 BOXAA *baa, l_int32 quality,
210 l_float32 scalefactor,
const char *title,
213 return ERROR_INT(
"function not present", __func__, 1);
218BOXAA * convertNumberedMasksToBoxaa(
const char *dirname,
const char *substr,
219 l_int32 numpre, l_int32 numpost)
221 return (
BOXAA *)ERROR_PTR(
"function not present", __func__, NULL);
226l_ok convertToPdfSegmented(
const char *filein, l_int32 res, l_int32 type,
227 l_int32 thresh,
BOXA *boxa, l_int32 quality,
228 l_float32 scalefactor,
const char *title,
231 return ERROR_INT(
"function not present", __func__, 1);
236l_ok pixConvertToPdfSegmented(
PIX *pixs, l_int32 res, l_int32 type,
237 l_int32 thresh,
BOXA *boxa, l_int32 quality,
238 l_float32 scalefactor,
const char *title,
241 return ERROR_INT(
"function not present", __func__, 1);
246l_ok convertToPdfDataSegmented(
const char *filein, l_int32 res,
247 l_int32 type, l_int32 thresh,
BOXA *boxa,
248 l_int32 quality, l_float32 scalefactor,
250 l_uint8 **pdata,
size_t *pnbytes)
252 return ERROR_INT(
"function not present", __func__, 1);
257l_ok pixConvertToPdfDataSegmented(
PIX *pixs, l_int32 res, l_int32 type,
258 l_int32 thresh,
BOXA *boxa,
259 l_int32 quality, l_float32 scalefactor,
261 l_uint8 **pdata,
size_t *pnbytes)
263 return ERROR_INT(
"function not present", __func__, 1);
268l_ok concatenatePdf(
const char *dirname,
const char *substr,
271 return ERROR_INT(
"function not present", __func__, 1);
276l_ok saConcatenatePdf(
SARRAY *sa,
const char *fileout)
278 return ERROR_INT(
"function not present", __func__, 1);
283l_ok ptraConcatenatePdf(
L_PTRA *pa,
const char *fileout)
285 return ERROR_INT(
"function not present", __func__, 1);
290l_ok concatenatePdfToData(
const char *dirname,
const char *substr,
291 l_uint8 **pdata,
size_t *pnbytes)
293 return ERROR_INT(
"function not present", __func__, 1);
298l_ok saConcatenatePdfToData(
SARRAY *sa, l_uint8 **pdata,
size_t *pnbytes)
300 return ERROR_INT(
"function not present", __func__, 1);