Leptonica 1.68
C Image Processing Library
|
00001 /*====================================================================* 00002 - Copyright (C) 2001 Leptonica. All rights reserved. 00003 - This software is distributed in the hope that it will be 00004 - useful, but with NO WARRANTY OF ANY KIND. 00005 - No author or distributor accepts responsibility to anyone for the 00006 - consequences of using this software, or for whether it serves any 00007 - particular purpose or works at all, unless he or she says so in 00008 - writing. Everyone is granted permission to copy, modify and 00009 - redistribute this source code, for commercial or non-commercial 00010 - purposes, with the following restrictions: (1) the origin of this 00011 - source code must not be misrepresented; (2) modified versions must 00012 - be plainly marked as such; and (3) this notice may not be removed 00013 - or altered from any source or modified source distribution. 00014 *====================================================================*/ 00015 00016 /* 00017 * psio1stub.c 00018 * 00019 * Stubs for psio1.c functions 00020 */ 00021 00022 #include "allheaders.h" 00023 00024 /* --------------------------------------------*/ 00025 #if !USE_PSIO /* defined in environ.h */ 00026 /* --------------------------------------------*/ 00027 00028 l_int32 convertFilesToPS(const char *dirin, const char *substr, 00029 l_int32 res, const char *fileout) 00030 { 00031 return ERROR_INT("function not present", "convertFilesToPS", 1); 00032 } 00033 00034 l_int32 sarrayConvertFilesToPS(SARRAY *sa, l_int32 res, const char *fileout) 00035 { 00036 return ERROR_INT("function not present", "sarrayConvertFilesToPS", 1); 00037 } 00038 00039 l_int32 convertFilesFittedToPS(const char *dirin, const char *substr, 00040 l_float32 xpts, l_float32 ypts, 00041 const char *fileout) 00042 { 00043 return ERROR_INT("function not present", "convertFilesFittedToPS", 1); 00044 } 00045 00046 l_int32 sarrayConvertFilesFittedToPS(SARRAY *sa, l_float32 xpts, 00047 l_float32 ypts, const char *fileout) 00048 { 00049 return ERROR_INT("function not present", "sarrayConvertFilesFittedToPS", 1); 00050 } 00051 00052 l_int32 convertSegmentedPagesToPS(const char *pagedir, const char *pagestr, 00053 const char *maskdir, const char *maskstr, 00054 l_int32 numpre, l_int32 numpost, 00055 l_int32 maxnum, l_float32 textscale, 00056 l_float32 imagescale, l_int32 threshold, 00057 const char *fileout) 00058 { 00059 return ERROR_INT("function not present", "convertSegmentedPagesToPS", 1); 00060 } 00061 00062 l_int32 pixWriteSegmentedPageToPS(PIX *pixs, PIX *pixm, l_float32 textscale, 00063 l_float32 imagescale, l_int32 threshold, 00064 l_int32 pageno, const char *fileout) 00065 { 00066 return ERROR_INT("function not present", "pixWriteSegmentedPagesToPS", 1); 00067 } 00068 00069 l_int32 pixWriteMixedToPS(PIX *pixb, PIX *pixc, l_float32 scale, 00070 l_int32 pageno, const char *fileout) 00071 { 00072 return ERROR_INT("function not present", "pixWriteMixedToPS", 1); 00073 } 00074 00075 l_int32 convertToPSEmbed(const char *filein, const char *fileout, l_int32 level) 00076 { 00077 return ERROR_INT("function not present", "convertToPSEmbed", 1); 00078 } 00079 00080 l_int32 pixaWriteCompressedToPS(PIXA *pixa, const char *fileout, 00081 l_int32 res, l_int32 level) 00082 { 00083 return ERROR_INT("function not present", "pixaWriteCompressedtoPS", 1); 00084 } 00085 00086 /* --------------------------------------------*/ 00087 #endif /* !USE_PSIO */ 00088 /* --------------------------------------------*/ 00089