Leptonica  1.77.0
Image processing and image analysis suite
psio1stub.c
Go to the documentation of this file.
1 /*====================================================================*
2  - Copyright (C) 2001 Leptonica. All rights reserved.
3  -
4  - Redistribution and use in source and binary forms, with or without
5  - modification, are permitted provided that the following conditions
6  - are met:
7  - 1. Redistributions of source code must retain the above copyright
8  - notice, this list of conditions and the following disclaimer.
9  - 2. Redistributions in binary form must reproduce the above
10  - copyright notice, this list of conditions and the following
11  - disclaimer in the documentation and/or other materials
12  - provided with the distribution.
13  -
14  - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
15  - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
16  - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
17  - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANY
18  - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19  - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20  - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21  - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22  - OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
23  - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24  - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25  *====================================================================*/
26 
35 #include "allheaders.h"
36 
37 /* --------------------------------------------*/
38 #if !USE_PSIO /* defined in environ.h */
39 /* --------------------------------------------*/
40 
41 l_ok convertFilesToPS(const char *dirin, const char *substr,
42  l_int32 res, const char *fileout)
43 {
44  return ERROR_INT("function not present", "convertFilesToPS", 1);
45 }
46 
47 /* ----------------------------------------------------------------------*/
48 
49 l_ok sarrayConvertFilesToPS(SARRAY *sa, l_int32 res, const char *fileout)
50 {
51  return ERROR_INT("function not present", "sarrayConvertFilesToPS", 1);
52 }
53 
54 /* ----------------------------------------------------------------------*/
55 
56 l_ok convertFilesFittedToPS(const char *dirin, const char *substr,
57  l_float32 xpts, l_float32 ypts,
58  const char *fileout)
59 {
60  return ERROR_INT("function not present", "convertFilesFittedToPS", 1);
61 }
62 
63 /* ----------------------------------------------------------------------*/
64 
65 l_ok sarrayConvertFilesFittedToPS(SARRAY *sa, l_float32 xpts,
66  l_float32 ypts, const char *fileout)
67 {
68  return ERROR_INT("function not present", "sarrayConvertFilesFittedToPS", 1);
69 }
70 
71 /* ----------------------------------------------------------------------*/
72 
73 l_ok writeImageCompressedToPSFile(const char *filein, const char *fileout,
74  l_int32 res, l_int32 *pfirstfile,
75  l_int32 *pindex)
76 {
77  return ERROR_INT("function not present", "writeImageCompressedToPSFile", 1);
78 }
79 
80 /* ----------------------------------------------------------------------*/
81 
82 l_ok convertSegmentedPagesToPS(const char *pagedir, const char *pagestr,
83  l_int32 page_numpre, const char *maskdir,
84  const char *maskstr, l_int32 mask_numpre,
85  l_int32 numpost, l_int32 maxnum,
86  l_float32 textscale, l_float32 imagescale,
87  l_int32 threshold, const char *fileout)
88 {
89  return ERROR_INT("function not present", "convertSegmentedPagesToPS", 1);
90 }
91 
92 /* ----------------------------------------------------------------------*/
93 
94 l_ok pixWriteSegmentedPageToPS(PIX *pixs, PIX *pixm, l_float32 textscale,
95  l_float32 imagescale, l_int32 threshold,
96  l_int32 pageno, const char *fileout)
97 {
98  return ERROR_INT("function not present", "pixWriteSegmentedPagesToPS", 1);
99 }
100 
101 /* ----------------------------------------------------------------------*/
102 
103 l_ok pixWriteMixedToPS(PIX *pixb, PIX *pixc, l_float32 scale,
104  l_int32 pageno, const char *fileout)
105 {
106  return ERROR_INT("function not present", "pixWriteMixedToPS", 1);
107 }
108 
109 /* ----------------------------------------------------------------------*/
110 
111 l_ok convertToPSEmbed(const char *filein, const char *fileout, l_int32 level)
112 {
113  return ERROR_INT("function not present", "convertToPSEmbed", 1);
114 }
115 
116 /* ----------------------------------------------------------------------*/
117 
118 l_ok pixaWriteCompressedToPS(PIXA *pixa, const char *fileout,
119  l_int32 res, l_int32 level)
120 {
121  return ERROR_INT("function not present", "pixaWriteCompressedtoPS", 1);
122 }
123 
124 /* --------------------------------------------*/
125 #endif /* !USE_PSIO */
126 /* --------------------------------------------*/
Definition: array.h:116
Definition: pix.h:454
Definition: pix.h:134