2 Copyright 1999-2009 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 *);
45 typedef MagickBooleanType
46 IsImageFormatHandler(const unsigned char *,const size_t);
48 typedef struct _MagickInfo
90 *next; /* deprecated, use GetMagickInfoList() */
96 extern MagickExport char
97 **GetMagickList(const char *,unsigned long *,ExceptionInfo *);
99 extern MagickExport const char
100 *GetMagickDescription(const MagickInfo *);
102 extern MagickExport DecodeImageHandler
103 *GetImageDecoder(const MagickInfo *);
105 extern MagickExport EncodeImageHandler
106 *GetImageEncoder(const MagickInfo *);
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 UnregisterMagickInfo(const char *);
118 extern const MagickExport MagickInfo
119 *GetMagickInfo(const char *,ExceptionInfo *),
120 **GetMagickInfoList(const char *,unsigned long *,ExceptionInfo *);
122 extern MagickExport MagickInfo
123 *RegisterMagickInfo(MagickInfo *),
124 *SetMagickInfo(const char *);
126 extern MagickExport MagickStatusType
127 GetMagickThreadSupport(const MagickInfo *);
129 extern MagickExport void
130 DestroyMagickList(void),
131 MagickCoreGenesis(const char *,const MagickBooleanType),
132 MagickCoreTerminus(void);
134 #if defined(__cplusplus) || defined(c_plusplus)