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 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
98 CompareValidate = 0x00001,
99 CompositeValidate = 0x00002,
100 ConvertValidate = 0x00004,
101 FormatsInMemoryValidate = 0x00008,
102 FormatsOnDiskValidate = 0x00010,
103 IdentifyValidate = 0x00020,
104 ImportExportValidate = 0x00040,
105 MontageValidate = 0x00080,
106 StreamValidate = 0x00100,
107 AllValidate = 0x7fffffff
110 typedef struct _OptionInfo
122 extern MagickExport char
123 **GetMagickOptions(const MagickOption),
124 *GetNextImageOption(const ImageInfo *),
125 *RemoveImageOption(ImageInfo *,const char *);
127 extern MagickExport const char
128 *GetImageOption(const ImageInfo *,const char *),
129 *MagickOptionToMnemonic(const MagickOption,const long);
131 extern MagickExport long
132 ParseChannelOption(const char *),
133 ParseMagickOption(const MagickOption,const MagickBooleanType,const char *);
135 extern MagickExport MagickBooleanType
136 CloneImageOptions(ImageInfo *,const ImageInfo *),
137 DefineImageOption(ImageInfo *,const char *),
138 DeleteImageOption(ImageInfo *,const char *),
139 IsMagickOption(const char *),
140 ListMagickOptions(FILE *,const MagickOption,ExceptionInfo *),
141 SetImageOption(ImageInfo *,const char *,const char *);
143 extern MagickExport void
144 DestroyImageOptions(ImageInfo *),
145 ResetImageOptions(const ImageInfo *),
146 ResetImageOptionIterator(const ImageInfo *);
148 #if defined(__cplusplus) || defined(c_plusplus)