MagickCore  6.8.5
magick.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7 
8  http://www.imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickCore magick methods.
17 */
18 #ifndef _MAGICKCORE_MAGICK_H
19 #define _MAGICKCORE_MAGICK_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 typedef enum
26 {
31 
32 typedef enum
33 {
34  NoThreadSupport = 0x0000,
38 
39 typedef Image
41 
42 typedef MagickBooleanType
44 
45 typedef MagickBooleanType
46  IsImageFormatHandler(const unsigned char *,const size_t);
47 
48 typedef struct _MagickInfo
49 {
50  char
51  *name,
52  *description,
53  *version,
54  *note,
55  *module;
56 
57  ImageInfo
59 
62 
65 
68 
69  void
71 
74  raw,
78 
81 
84 
87 
88  struct _MagickInfo
89  *previous,
90  *next; /* deprecated, use GetMagickInfoList() */
91 
92  size_t
94 } MagickInfo;
95 
96 extern MagickExport char
97  **GetMagickList(const char *,size_t *,ExceptionInfo *);
98 
99 extern MagickExport const char
101 
103  *GetImageDecoder(const MagickInfo *);
104 
106  *GetImageEncoder(const MagickInfo *);
107 
108 extern MagickExport int
109  GetMagickPrecision(void),
110  SetMagickPrecision(const int);
111 
113  GetImageMagick(const unsigned char *,const size_t,char *),
114  GetMagickAdjoin(const MagickInfo *),
119  IsMagickInstantiated(void),
121  UnregisterMagickInfo(const char *);
122 
123 extern const MagickExport MagickInfo
124  *GetMagickInfo(const char *,ExceptionInfo *),
125  **GetMagickInfoList(const char *,size_t *,ExceptionInfo *);
126 
129  *SetMagickInfo(const char *);
130 
133 
134 extern MagickExport void
136  MagickCoreGenesis(const char *,const MagickBooleanType),
137  MagickCoreTerminus(void);
138 
139 #if defined(__cplusplus) || defined(c_plusplus)
140 }
141 #endif
142 
143 #endif