18#ifndef MAGICKCORE_OPTION_H
19#define MAGICKCORE_OPTION_H
21#if defined(__cplusplus) || defined(c_plusplus)
27 MagickUndefinedOptions = -1,
28 MagickAlignOptions = 0,
29 MagickAlphaChannelOptions,
34 MagickClipPathOptions,
37 MagickColorspaceOptions,
40 MagickComplianceOptions,
42 MagickCompressOptions,
43 MagickConfigureOptions,
44 MagickDataTypeOptions,
46 MagickDecorateOptions,
47 MagickDelegateOptions,
48 MagickDirectionOptions,
53 MagickEvaluateOptions,
54 MagickFillRuleOptions,
59 MagickFunctionOptions,
60 MagickGradientOptions,
62 MagickIntensityOptions,
64 MagickInterlaceOptions,
65 MagickInterpolateOptions,
69 MagickLineJoinOptions,
72 MagickLogEventOptions,
80 MagickMorphologyOptions,
82 MagickOrientationOptions,
83 MagickPixelChannelOptions,
84 MagickPixelIntensityOptions,
85 MagickPixelMaskOptions,
86 MagickPixelTraitOptions,
88 MagickPolicyDomainOptions,
89 MagickPolicyRightsOptions,
91 MagickPrimitiveOptions,
92 MagickQuantumFormatOptions,
93 MagickResolutionOptions,
94 MagickResourceOptions,
95 MagickSparseColorOptions,
96 MagickStatisticOptions,
100 MagickThresholdOptions,
102 MagickValidateOptions,
103 MagickVirtualPixelOptions,
105 MagickAutoThresholdOptions,
108 MagickIlluminantOptions,
109 MagickWordBreakOptions,
110 MagickPagesizeOptions
116 NoValidate = 0x00000,
117 ColorspaceValidate = 0x00001,
118 CompareValidate = 0x00002,
119 CompositeValidate = 0x00004,
120 ConvertValidate = 0x00008,
121 FormatsDiskValidate = 0x00010,
122 FormatsMapValidate = 0x00020,
123 FormatsMemoryValidate = 0x00040,
124 IdentifyValidate = 0x00080,
125 ImportExportValidate = 0x00100,
126 MontageValidate = 0x00200,
127 StreamValidate = 0x00400,
128 MagickValidate = 0x00800,
129 AllValidate = 0x7fffffff
139 UndefinedOptionFlag = 0x0000,
141 ImageInfoOptionFlag = 0x0001,
142 DrawInfoOptionFlag = 0x0002,
143 QuantizeInfoOptionFlag = 0x0004,
144 GlobalOptionFlag = 0x0008,
145 SettingOptionFlags = 0x000F,
147 NoImageOperatorFlag = 0x0010,
148 SimpleOperatorFlag = 0x0020,
149 ListOperatorFlag = 0x0040,
150 GenesisOptionFlag = 0x0080,
152 SpecialOptionFlag = 0x0100,
155 AlwaysInterpretArgsFlag = 0x0400,
157 NeverInterpretArgsFlag = 0x0800,
160 NonMagickOptionFlag = 0x1000,
161 FireOptionFlag = 0x2000,
162 DeprecateOptionFlag = 0x4000,
163 ReplacedOptionFlag = 0x8800
181extern MagickExport
char
182 **GetCommandOptions(
const CommandOption),
184 *RemoveImageOption(
ImageInfo *,
const char *);
186extern MagickExport
const char
187 *CommandOptionToMnemonic(
const CommandOption,
const ssize_t),
188 *GetImageOption(
const ImageInfo *,
const char *);
190extern MagickExport MagickBooleanType
192 DefineImageOption(
ImageInfo *,
const char *),
193 DeleteImageOption(
ImageInfo *,
const char *),
194 IsCommandOption(
const char *),
195 IsOptionMember(
const char *,
const char *),
196 ListCommandOptions(FILE *,
const CommandOption,
ExceptionInfo *),
197 SetImageOption(
ImageInfo *,
const char *,
const char *);
199extern MagickExport ssize_t
200 GetCommandOptionFlags(
const CommandOption,
const MagickBooleanType,
202 ParseChannelOption(
const char *),
203 ParsePixelChannelOption(
const char *),
204 ParseCommandOption(
const CommandOption,
const MagickBooleanType,
const char *);
206extern MagickExport
void
209 ResetImageOptionIterator(
const ImageInfo *);
212 *GetCommandOptionInfo(
const char *value);
214#if defined(__cplusplus) || defined(c_plusplus)