2 Copyright 1999-2014 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)
26 #include "MagickCore/semaphore.h"
37 NoThreadSupport = 0x0000,
38 DecoderThreadSupport = 0x0001,
39 EncoderThreadSupport = 0x0002
40 } MagickThreadSupport;
43 *DecodeImageHandler(const ImageInfo *,ExceptionInfo *);
45 typedef MagickBooleanType
46 EncodeImageHandler(const ImageInfo *,Image *,ExceptionInfo *);
48 typedef MagickBooleanType
49 IsImageFormatHandler(const unsigned char *,const size_t);
51 typedef struct _MagickInfo
99 extern MagickExport char
100 **GetMagickList(const char *,size_t *,ExceptionInfo *);
102 extern MagickExport const char
103 *GetMagickDescription(const MagickInfo *),
104 *GetMagickMimeType(const MagickInfo *);
106 extern MagickExport DecodeImageHandler
107 *GetImageDecoder(const MagickInfo *);
109 extern MagickExport EncodeImageHandler
110 *GetImageEncoder(const MagickInfo *);
112 extern MagickExport int
113 GetMagickPrecision(void),
114 SetMagickPrecision(const int);
116 extern MagickExport MagickBooleanType
117 GetImageMagick(const unsigned char *,const size_t,char *),
118 GetMagickAdjoin(const MagickInfo *),
119 GetMagickBlobSupport(const MagickInfo *),
120 GetMagickEndianSupport(const MagickInfo *),
121 GetMagickRawSupport(const MagickInfo *),
122 GetMagickSeekableStream(const MagickInfo *),
123 IsMagickCoreInstantiated(void),
124 UnregisterMagickInfo(const char *);
126 extern const MagickExport MagickInfo
127 *GetMagickInfo(const char *,ExceptionInfo *),
128 **GetMagickInfoList(const char *,size_t *,ExceptionInfo *);
130 extern MagickExport MagickInfo
131 *RegisterMagickInfo(MagickInfo *),
132 *SetMagickInfo(const char *);
134 extern MagickExport MagickStatusType
135 GetMagickThreadSupport(const MagickInfo *);
137 extern MagickExport void
138 MagickCoreGenesis(const char *,const MagickBooleanType),
139 MagickCoreTerminus(void);
141 #if defined(__cplusplus) || defined(c_plusplus)