36#include <config_auto.h>
39#include "allheaders.h"
45PIX * pixReadStreamPng(FILE *fp)
47 return (
PIX * )ERROR_PTR(
"function not present", __func__, NULL);
52l_ok readHeaderPng(
const char *filename, l_int32 *pwidth, l_int32 *pheight,
53 l_int32 *pbps, l_int32 *pspp, l_int32 *piscmap)
55 return ERROR_INT(
"function not present", __func__, 1);
60l_ok freadHeaderPng(FILE *fp, l_int32 *pwidth, l_int32 *pheight,
61 l_int32 *pbps, l_int32 *pspp, l_int32 *piscmap)
63 return ERROR_INT(
"function not present", __func__, 1);
68l_ok readHeaderMemPng(
const l_uint8 *data,
size_t size, l_int32 *pwidth,
69 l_int32 *pheight, l_int32 *pbps, l_int32 *pspp,
72 return ERROR_INT(
"function not present", __func__, 1);
77l_int32 fgetPngResolution(FILE *fp, l_int32 *pxres, l_int32 *pyres)
79 return ERROR_INT(
"function not present", __func__, 1);
84l_ok isPngInterlaced(
const char *filename, l_int32 *pinterlaced)
86 return ERROR_INT(
"function not present", __func__, 1);
91l_ok fgetPngColormapInfo(FILE *fp,
PIXCMAP **pcmap, l_int32 *ptransparency)
93 return ERROR_INT(
"function not present", __func__, 1);
98l_ok pixWritePng(
const char *filename,
PIX *pix, l_float32 gamma)
100 return ERROR_INT(
"function not present", __func__, 1);
105l_ok pixWriteStreamPng(FILE *fp,
PIX *pix, l_float32 gamma)
107 return ERROR_INT(
"function not present", __func__, 1);
112l_ok pixSetZlibCompression(
PIX *pix, l_int32 compval)
115 return ERROR_INT(
"function not present", __func__, 1);
120void l_pngSetReadStrip16To8(l_int32 flag)
122 L_ERROR(
"function not present\n", __func__);
128PIX * pixReadMemPng(
const l_uint8 *filedata,
size_t filesize)
130 return (
PIX * )ERROR_PTR(
"function not present", __func__, NULL);
135l_ok pixWriteMemPng(l_uint8 **pfiledata,
size_t *pfilesize,
PIX *pix,
138 return ERROR_INT(
"function not present", __func__, 1);