2 Copyright 1999-2010 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 option methods.
18 #ifndef _MAGICKCORE_OPTION_H
19 #define _MAGICKCORE_OPTION_H
21 #if defined(__cplusplus) || defined(c_plusplus)
27 MagickUndefinedOptions = -1,
28 MagickAlignOptions = 0,
33 MagickClipPathOptions,
36 MagickColorspaceOptions,
39 MagickCompressOptions,
40 MagickConfigureOptions,
41 MagickDataTypeOptions,
43 MagickDecorateOptions,
44 MagickDelegateOptions,
49 MagickEvaluateOptions,
50 MagickFillRuleOptions,
55 MagickFunctionOptions,
57 MagickImageListOptions,
59 MagickInterlaceOptions,
60 MagickInterpolateOptions,
63 MagickLineJoinOptions,
66 MagickLogEventOptions,
75 MagickOrientationOptions,
77 MagickPolicyDomainOptions,
78 MagickPolicyRightsOptions,
80 MagickPrimitiveOptions,
81 MagickQuantumFormatOptions,
82 MagickResolutionOptions,
83 MagickResourceOptions,
84 MagickSparseColorOptions,
88 MagickThresholdOptions,
90 MagickValidateOptions,
91 MagickVirtualPixelOptions,
93 MagickMorphologyOptions
100 CompareValidate = 0x00001,
101 CompositeValidate = 0x00002,
102 ConvertValidate = 0x00004,
103 FormatsInMemoryValidate = 0x00008,
104 FormatsOnDiskValidate = 0x00010,
105 IdentifyValidate = 0x00020,
106 ImportExportValidate = 0x00040,
107 MontageValidate = 0x00080,
108 StreamValidate = 0x00100,
109 AllValidate = 0x7fffffff
112 typedef struct _OptionInfo
124 extern MagickExport char
125 **GetMagickOptions(const MagickOption),
126 *GetNextImageOption(const ImageInfo *),
127 *RemoveImageOption(ImageInfo *,const char *);
129 extern MagickExport const char
130 *GetImageOption(const ImageInfo *,const char *),
131 *MagickOptionToMnemonic(const MagickOption,const long);
133 extern MagickExport long
134 ParseChannelOption(const char *),
135 ParseMagickOption(const MagickOption,const MagickBooleanType,const char *);
137 extern MagickExport MagickBooleanType
138 CloneImageOptions(ImageInfo *,const ImageInfo *),
139 DefineImageOption(ImageInfo *,const char *),
140 DeleteImageOption(ImageInfo *,const char *),
141 IsMagickOption(const char *),
142 ListMagickOptions(FILE *,const MagickOption,ExceptionInfo *),
143 SetImageOption(ImageInfo *,const char *,const char *);
145 extern MagickExport void
146 DestroyImageOptions(ImageInfo *),
147 ResetImageOptions(const ImageInfo *),
148 ResetImageOptionIterator(const ImageInfo *);
150 #if defined(__cplusplus) || defined(c_plusplus)