36#include <config_auto.h>
39#include "allheaders.h"
45PIX * pixReadStreamPnm(FILE *fp)
47 return (
PIX * )ERROR_PTR(
"function not present", __func__, NULL);
52l_ok readHeaderPnm(
const char *filename, l_int32 *pw, l_int32 *ph,
53 l_int32 *pd, l_int32 *ptype, l_int32 *pbps,
56 return ERROR_INT(
"function not present", __func__, 1);
61l_ok freadHeaderPnm(FILE *fp, l_int32 *pw, l_int32 *ph, l_int32 *pd,
62 l_int32 *ptype, l_int32 *pbps, l_int32 *pspp)
64 return ERROR_INT(
"function not present", __func__, 1);
69l_ok pixWriteStreamPnm(FILE *fp,
PIX *pix)
71 return ERROR_INT(
"function not present", __func__, 1);
76l_ok pixWriteStreamAsciiPnm(FILE *fp,
PIX *pix)
78 return ERROR_INT(
"function not present", __func__, 1);
83l_ok pixWriteStreamPam(FILE *fp,
PIX *pix)
85 return ERROR_INT(
"function not present", __func__, 1);
90PIX * pixReadMemPnm(
const l_uint8 *cdata,
size_t size)
92 return (
PIX * )ERROR_PTR(
"function not present", __func__, NULL);
97l_ok readHeaderMemPnm(
const l_uint8 *cdata,
size_t size, l_int32 *pw,
98 l_int32 *ph, l_int32 *pd, l_int32 *ptype,
99 l_int32 *pbps, l_int32 *pspp)
101 return ERROR_INT(
"function not present", __func__, 1);
106l_ok pixWriteMemPnm(l_uint8 **pdata,
size_t *psize,
PIX *pix)
108 return ERROR_INT(
"function not present", __func__, 1);
112l_ok pixWriteMemPam(l_uint8 **pdata,
size_t *psize,
PIX *pix)
114 return ERROR_INT(
"function not present", __func__, 1);