2 Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 http://www.imagemagick.org/script/license.php
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.
16 MagickCore magick methods.
18 #ifndef _MAGICKCORE_MAGICK_H
19 #define _MAGICKCORE_MAGICK_H
21 #if defined(__cplusplus) || defined(c_plusplus)
34 NoThreadSupport = 0x0000,
35 DecoderThreadSupport = 0x0001,
36 EncoderThreadSupport = 0x0002
37 } MagickThreadSupport;
40 *DecodeImageHandler(const ImageInfo *,ExceptionInfo *);
42 typedef MagickBooleanType
43 EncodeImageHandler(const ImageInfo *,Image *,ExceptionInfo *);
45 typedef MagickBooleanType
46 IsImageFormatHandler(const unsigned char *,const size_t);
48 typedef struct _MagickInfo
92 extern MagickExport char
93 **GetMagickList(const char *,size_t *,ExceptionInfo *);
95 extern MagickExport const char
96 *GetMagickDescription(const MagickInfo *);
98 extern MagickExport DecodeImageHandler
99 *GetImageDecoder(const MagickInfo *);
101 extern MagickExport EncodeImageHandler
102 *GetImageEncoder(const MagickInfo *);
104 extern MagickExport int
105 GetMagickPrecision(void),
106 SetMagickPrecision(const int);
108 extern MagickExport MagickBooleanType
109 GetImageMagick(const unsigned char *,const size_t,char *),
110 GetMagickAdjoin(const MagickInfo *),
111 GetMagickBlobSupport(const MagickInfo *),
112 GetMagickEndianSupport(const MagickInfo *),
113 GetMagickRawSupport(const MagickInfo *),
114 GetMagickSeekableStream(const MagickInfo *),
115 IsMagickInstantiated(void),
116 MagickComponentGenesis(void),
117 UnregisterMagickInfo(const char *);
119 extern const MagickExport MagickInfo
120 *GetMagickInfo(const char *,ExceptionInfo *),
121 **GetMagickInfoList(const char *,size_t *,ExceptionInfo *);
123 extern MagickExport MagickInfo
124 *RegisterMagickInfo(MagickInfo *),
125 *SetMagickInfo(const char *);
127 extern MagickExport MagickStatusType
128 GetMagickThreadSupport(const MagickInfo *);
130 extern MagickExport void
131 MagickComponentTerminus(void),
132 MagickCoreGenesis(const char *,const MagickBooleanType),
133 MagickCoreTerminus(void);
135 #if defined(__cplusplus) || defined(c_plusplus)