35 #include "allheaders.h" 43 return ERROR_INT(
"function not present",
"pixWritePSEmbed", 1);
51 return ERROR_INT(
"function not present",
"pixWriteStreamPS", 1);
58 return (
char *)ERROR_PTR(
"function not present",
"pixWriteStringPS", NULL);
64 l_int32 psbpl, l_int32 bps, l_float32 xpt,
65 l_float32 ypt, l_float32 wpt, l_float32 hpt,
68 return (
char *)ERROR_PTR(
"function not present",
69 "generateUncompressedPS", NULL);
75 l_float32 scale, l_float32 *pxpt, l_float32 *pypt,
76 l_float32 *pwpt, l_float32 *phpt)
78 L_ERROR(
"function not present\n",
"getScaledParametersPS");
86 L_ERROR(
"function not present\n",
"convertByteToHexAscii");
94 return ERROR_INT(
"function not present",
"convertJpegToPSEmbed", 1);
100 const char *operation, l_int32 x, l_int32 y,
101 l_int32 res, l_float32 scale, l_int32 pageno,
104 return ERROR_INT(
"function not present",
"convertJpegToPS", 1);
110 l_int32 *pnbytes, l_int32 x, l_int32 y,
111 l_int32 res, l_float32 scale, l_int32 pageno,
114 return ERROR_INT(
"function not present",
"convertJpegToPSString", 1);
120 l_float32 xpt, l_float32 ypt, l_float32 wpt,
121 l_float32 hpt, l_int32 pageno, l_int32 endpage)
123 return (
char *)ERROR_PTR(
"function not present",
"generateJpegPS", NULL);
130 return ERROR_INT(
"function not present",
"convertG4ToPSEmbed", 1);
136 const char *operation, l_int32 x, l_int32 y,
137 l_int32 res, l_float32 scale, l_int32 pageno,
138 l_int32 maskflag, l_int32 endpage)
140 return ERROR_INT(
"function not present",
"convertG4ToPS", 1);
146 l_int32 *pnbytes, l_int32 x, l_int32 y,
147 l_int32 res, l_float32 scale, l_int32 pageno,
148 l_int32 maskflag, l_int32 endpage)
150 return ERROR_INT(
"function not present",
"convertG4ToPSString", 1);
156 l_float32 ypt, l_float32 wpt, l_float32 hpt,
157 l_int32 maskflag, l_int32 pageno, l_int32 endpage)
159 return (
char *)ERROR_PTR(
"function not present",
"generateG4PS", NULL);
167 return ERROR_INT(
"function not present",
"convertTiffMultipageToPS", 1);
174 return ERROR_INT(
"function not present",
"convertFlateToPSEmbed", 1);
180 const char *operation, l_int32 x, l_int32 y,
181 l_int32 res, l_float32 scale, l_int32 pageno,
184 return ERROR_INT(
"function not present",
"convertFlateToPS", 1);
190 l_int32 *pnbytes, l_int32 x, l_int32 y,
191 l_int32 res, l_float32 scale,
192 l_int32 pageno, l_int32 endpage)
194 return ERROR_INT(
"function not present",
"convertFlateToPSString", 1);
200 l_float32 xpt, l_float32 ypt, l_float32 wpt,
201 l_float32 hpt, l_int32 pageno, l_int32 endpage)
203 return (
char *)ERROR_PTR(
"function not present",
"generateFlatePS", NULL);
209 l_int32 res, l_float32 scale)
211 return ERROR_INT(
"function not present",
"pixWriteMemPS", 1);
218 return ERROR_INT(
"function not present",
"getResLetterPage", 1);
223 l_int32
getResA4Page(l_int32 w, l_int32 h, l_float32 fillfract)
225 return ERROR_INT(
"function not present",
"getResA4Page", 1);
230 void l_psWriteBoundingBox(l_int32 flag)
232 L_ERROR(
"function not present\n",
"l_psWriteBoundingBox");
l_ok convertJpegToPSString(const char *filein, char **poutstr, l_int32 *pnbytes, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 endpage)
convertJpegToPSString()
l_ok pixWriteMemPS(l_uint8 **pdata, size_t *psize, PIX *pix, BOX *box, l_int32 res, l_float32 scale)
pixWriteMemPS()
char * generateUncompressedPS(char *hexdata, l_int32 w, l_int32 h, l_int32 d, l_int32 psbpl, l_int32 bps, l_float32 xpt, l_float32 ypt, l_float32 wpt, l_float32 hpt, l_int32 boxflag)
generateUncompressedPS()
l_ok convertJpegToPSEmbed(const char *filein, const char *fileout)
convertJpegToPSEmbed()
l_ok convertFlateToPSEmbed(const char *filein, const char *fileout)
convertFlateToPSEmbed()
l_ok pixWritePSEmbed(const char *filein, const char *fileout)
pixWritePSEmbed()
char * pixWriteStringPS(PIX *pixs, BOX *box, l_int32 res, l_float32 scale)
pixWriteStringPS()
l_int32 getResA4Page(l_int32 w, l_int32 h, l_float32 fillfract)
getResA4Page()
void getScaledParametersPS(BOX *box, l_int32 wpix, l_int32 hpix, l_int32 res, l_float32 scale, l_float32 *pxpt, l_float32 *pypt, l_float32 *pwpt, l_float32 *phpt)
getScaledParametersPS()
char * generateG4PS(const char *filein, L_COMP_DATA *cid, l_float32 xpt, l_float32 ypt, l_float32 wpt, l_float32 hpt, l_int32 maskflag, l_int32 pageno, l_int32 endpage)
generateG4PS()
l_ok convertG4ToPSEmbed(const char *filein, const char *fileout)
convertG4ToPSEmbed()
l_ok convertJpegToPS(const char *filein, const char *fileout, const char *operation, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 endpage)
convertJpegToPS()
l_int32 getResLetterPage(l_int32 w, l_int32 h, l_float32 fillfract)
getResLetterPage()
l_ok convertG4ToPS(const char *filein, const char *fileout, const char *operation, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 maskflag, l_int32 endpage)
convertG4ToPS()
l_ok convertFlateToPSString(const char *filein, char **poutstr, l_int32 *pnbytes, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 endpage)
convertFlateToPSString()
char * generateFlatePS(const char *filein, L_COMP_DATA *cid, l_float32 xpt, l_float32 ypt, l_float32 wpt, l_float32 hpt, l_int32 pageno, l_int32 endpage)
generateFlatePS()
char * generateJpegPS(const char *filein, L_COMP_DATA *cid, l_float32 xpt, l_float32 ypt, l_float32 wpt, l_float32 hpt, l_int32 pageno, l_int32 endpage)
generateJpegPS()
l_ok pixWriteStreamPS(FILE *fp, PIX *pix, BOX *box, l_int32 res, l_float32 scale)
pixWriteStreamPS()
l_ok convertTiffMultipageToPS(const char *filein, const char *fileout, l_float32 fillfract)
convertTiffMultipageToPS()
l_ok convertG4ToPSString(const char *filein, char **poutstr, l_int32 *pnbytes, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 maskflag, l_int32 endpage)
convertG4ToPSString()
void convertByteToHexAscii(l_uint8 byteval, char *pnib1, char *pnib2)
convertByteToHexAscii()
l_ok convertFlateToPS(const char *filein, const char *fileout, const char *operation, l_int32 x, l_int32 y, l_int32 res, l_float32 scale, l_int32 pageno, l_int32 endpage)
convertFlateToPS()