43#include "MagickCore/studio.h"
44#include "MagickCore/artifact.h"
45#include "MagickCore/cache.h"
46#include "MagickCore/channel.h"
47#include "MagickCore/color.h"
48#include "MagickCore/compare.h"
49#include "MagickCore/constitute.h"
50#include "MagickCore/distort.h"
51#include "MagickCore/draw.h"
52#include "MagickCore/effect.h"
53#include "MagickCore/exception.h"
54#include "MagickCore/exception-private.h"
55#include "MagickCore/fourier.h"
56#include "MagickCore/gem.h"
57#include "MagickCore/geometry.h"
58#include "MagickCore/image.h"
59#include "MagickCore/image-private.h"
60#include "MagickCore/layer.h"
61#include "MagickCore/mime-private.h"
62#include "MagickCore/memory_.h"
63#include "MagickCore/monitor.h"
64#include "MagickCore/montage.h"
65#include "MagickCore/morphology.h"
66#include "MagickCore/option.h"
67#include "MagickCore/option-private.h"
68#include "MagickCore/pixel.h"
69#include "MagickCore/policy.h"
70#include "MagickCore/property.h"
71#include "MagickCore/quantize.h"
72#include "MagickCore/quantum.h"
73#include "MagickCore/registry.h"
74#include "MagickCore/resample.h"
75#include "MagickCore/resource_.h"
76#include "MagickCore/splay-tree.h"
77#include "MagickCore/statistic.h"
78#include "MagickCore/string_.h"
79#include "MagickCore/threshold.h"
80#include "MagickCore/token.h"
81#include "MagickCore/utility.h"
82#include "MagickCore/visual-effects.h"
87#define MetaPixelChannelBit(bit) ((ssize_t) 1 << (MetaPixelChannels+bit))
95 {
"Undefined", UndefinedAlign, UndefinedOptionFlag, MagickTrue },
96 {
"Center", CenterAlign, UndefinedOptionFlag, MagickFalse },
97 {
"End", RightAlign, UndefinedOptionFlag, MagickFalse },
98 {
"Left", LeftAlign, UndefinedOptionFlag, MagickFalse },
99 {
"Middle", CenterAlign, UndefinedOptionFlag, MagickFalse },
100 {
"Right", RightAlign, UndefinedOptionFlag, MagickFalse },
101 {
"Start", LeftAlign, UndefinedOptionFlag, MagickFalse },
102 { (
char *) NULL, UndefinedAlign, UndefinedOptionFlag, MagickFalse }
104 AlphaChannelOptions[] =
106 {
"Undefined", UndefinedAlphaChannel, UndefinedOptionFlag, MagickTrue },
107 {
"Activate", ActivateAlphaChannel, UndefinedOptionFlag, MagickFalse },
108 {
"Associate", AssociateAlphaChannel, UndefinedOptionFlag, MagickFalse },
109 {
"Background", BackgroundAlphaChannel, UndefinedOptionFlag, MagickFalse },
110 {
"Copy", CopyAlphaChannel, UndefinedOptionFlag, MagickFalse },
111 {
"Deactivate", DeactivateAlphaChannel, UndefinedOptionFlag, MagickFalse },
112 {
"Discrete", DiscreteAlphaChannel, UndefinedOptionFlag, MagickFalse },
113 {
"Disassociate", DisassociateAlphaChannel, UndefinedOptionFlag, MagickFalse },
114 {
"Extract", ExtractAlphaChannel, UndefinedOptionFlag, MagickFalse },
115 {
"Off", OffAlphaChannel, UndefinedOptionFlag, MagickFalse },
116 {
"OffIfOpaque", OffIfOpaqueAlphaChannel, UndefinedOptionFlag, MagickFalse },
117 {
"On", OnAlphaChannel, UndefinedOptionFlag, MagickFalse },
118 {
"Opaque", OpaqueAlphaChannel, UndefinedOptionFlag, MagickFalse },
119 {
"Remove", RemoveAlphaChannel, UndefinedOptionFlag, MagickFalse },
120 {
"Set", SetAlphaChannel, UndefinedOptionFlag, MagickFalse },
121 {
"Shape", ShapeAlphaChannel, UndefinedOptionFlag, MagickFalse },
122 {
"Reset", SetAlphaChannel, DeprecateOptionFlag, MagickTrue },
123 {
"Transparent", TransparentAlphaChannel, UndefinedOptionFlag, MagickFalse },
124 { (
char *) NULL, UndefinedAlphaChannel, UndefinedOptionFlag, MagickFalse }
126 AutoThresholdOptions[] =
128 {
"Undefined", UndefinedThresholdMethod, UndefinedOptionFlag, MagickTrue },
129 {
"Kapur", KapurThresholdMethod, UndefinedOptionFlag, MagickFalse },
130 {
"OTSU", OTSUThresholdMethod, UndefinedOptionFlag, MagickFalse },
131 {
"Triangle", TriangleThresholdMethod, UndefinedOptionFlag, MagickFalse },
132 { (
char *) NULL, UndefinedThresholdMethod, UndefinedOptionFlag, MagickFalse }
136 {
"False", MagickFalse, UndefinedOptionFlag, MagickFalse },
137 {
"True", MagickTrue, UndefinedOptionFlag, MagickFalse },
138 {
"0", MagickFalse, UndefinedOptionFlag, MagickFalse },
139 {
"1", MagickTrue, UndefinedOptionFlag, MagickFalse },
140 { (
char *) NULL, MagickFalse, UndefinedOptionFlag, MagickFalse }
144 {
"Disk", DiskCache, UndefinedOptionFlag, MagickFalse },
145 {
"Distributed", DistributedCache, UndefinedOptionFlag, MagickFalse },
146 {
"Map", MapCache, UndefinedOptionFlag, MagickFalse },
147 {
"Memory", MemoryCache, UndefinedOptionFlag, MagickFalse },
148 {
"Ping", PingCache, UndefinedOptionFlag, MagickFalse },
149 { (
char *) NULL, MagickFalse, UndefinedOptionFlag, MagickFalse }
153 {
"Undefined", UndefinedChannel, UndefinedOptionFlag, MagickTrue },
155 {
"All", CompositeChannels, UndefinedOptionFlag, MagickFalse },
156 {
"Sync", SyncChannels, UndefinedOptionFlag, MagickFalse },
157 {
"Default", AllChannels, UndefinedOptionFlag, MagickFalse },
159 {
"A", AlphaChannel, UndefinedOptionFlag, MagickFalse },
160 {
"Alpha", AlphaChannel, UndefinedOptionFlag, MagickFalse },
161 {
"Black", BlackChannel, UndefinedOptionFlag, MagickFalse },
162 {
"B", BlueChannel, UndefinedOptionFlag, MagickFalse },
163 {
"Blue", BlueChannel, UndefinedOptionFlag, MagickFalse },
164 {
"C", CyanChannel, UndefinedOptionFlag, MagickFalse },
165 {
"Chroma", GreenChannel, UndefinedOptionFlag, MagickFalse },
166 {
"Cyan", CyanChannel, UndefinedOptionFlag, MagickFalse },
167 {
"Gray", GrayChannel, UndefinedOptionFlag, MagickFalse },
168 {
"G", GreenChannel, UndefinedOptionFlag, MagickFalse },
169 {
"Green", GreenChannel, UndefinedOptionFlag, MagickFalse },
170 {
"H", RedChannel, UndefinedOptionFlag, MagickFalse },
171 {
"Hue", RedChannel, UndefinedOptionFlag, MagickFalse },
172 {
"K", BlackChannel, UndefinedOptionFlag, MagickFalse },
173 {
"L", BlueChannel, UndefinedOptionFlag, MagickFalse },
174 {
"Lightness", BlueChannel, UndefinedOptionFlag, MagickFalse },
175 {
"Luminance", BlueChannel, UndefinedOptionFlag, MagickFalse },
176 {
"Luminosity", BlueChannel, DeprecateOptionFlag, MagickTrue },
177 {
"M", MagentaChannel, UndefinedOptionFlag, MagickFalse },
178 {
"Magenta", MagentaChannel, UndefinedOptionFlag, MagickFalse },
179 {
"Matte", AlphaChannel, DeprecateOptionFlag, MagickTrue },
180 {
"Meta", MetaChannel, UndefinedOptionFlag, MagickFalse },
181 {
"Meta0", MetaPixelChannelBit(0), UndefinedOptionFlag, MagickFalse },
182 {
"Meta1", MetaPixelChannelBit(1), UndefinedOptionFlag, MagickFalse },
183 {
"Meta2", MetaPixelChannelBit(2), UndefinedOptionFlag, MagickFalse },
184 {
"Meta3", MetaPixelChannelBit(3), UndefinedOptionFlag, MagickFalse },
185 {
"Meta4", MetaPixelChannelBit(4), UndefinedOptionFlag, MagickFalse },
186 {
"Meta5", MetaPixelChannelBit(5), UndefinedOptionFlag, MagickFalse },
187 {
"Meta6", MetaPixelChannelBit(6), UndefinedOptionFlag, MagickFalse },
188 {
"Meta7", MetaPixelChannelBit(7), UndefinedOptionFlag, MagickFalse },
189 {
"Meta8", MetaPixelChannelBit(8), UndefinedOptionFlag, MagickFalse },
190 {
"Meta9", MetaPixelChannelBit(9), UndefinedOptionFlag, MagickFalse },
191 {
"Meta10", MetaPixelChannelBit(10), UndefinedOptionFlag, MagickFalse },
192 {
"Meta11", MetaPixelChannelBit(11), UndefinedOptionFlag, MagickFalse },
193 {
"Meta12", MetaPixelChannelBit(12), UndefinedOptionFlag, MagickFalse },
194 {
"Meta13", MetaPixelChannelBit(13), UndefinedOptionFlag, MagickFalse },
195 {
"Meta14", MetaPixelChannelBit(14), UndefinedOptionFlag, MagickFalse },
196 {
"Meta15", MetaPixelChannelBit(15), UndefinedOptionFlag, MagickFalse },
197 {
"Meta16", MetaPixelChannelBit(16), UndefinedOptionFlag, MagickFalse },
198 {
"Meta17", MetaPixelChannelBit(17), UndefinedOptionFlag, MagickFalse },
199 {
"Meta18", MetaPixelChannelBit(18), UndefinedOptionFlag, MagickFalse },
200 {
"Meta19", MetaPixelChannelBit(19), UndefinedOptionFlag, MagickFalse },
201 {
"Meta20", MetaPixelChannelBit(20), UndefinedOptionFlag, MagickFalse },
202 {
"Meta21", MetaPixelChannelBit(21), UndefinedOptionFlag, MagickFalse },
203#if defined(MAGICKCORE_64BIT_CHANNEL_MASK_SUPPORT)
204 {
"Meta22", MetaPixelChannelBit(22), UndefinedOptionFlag, MagickFalse },
205 {
"Meta23", MetaPixelChannelBit(23), UndefinedOptionFlag, MagickFalse },
206 {
"Meta24", MetaPixelChannelBit(24), UndefinedOptionFlag, MagickFalse },
207 {
"Meta25", MetaPixelChannelBit(25), UndefinedOptionFlag, MagickFalse },
208 {
"Meta26", MetaPixelChannelBit(26), UndefinedOptionFlag, MagickFalse },
209 {
"Meta27", MetaPixelChannelBit(27), UndefinedOptionFlag, MagickFalse },
210 {
"Meta28", MetaPixelChannelBit(28), UndefinedOptionFlag, MagickFalse },
211 {
"Meta29", MetaPixelChannelBit(29), UndefinedOptionFlag, MagickFalse },
212 {
"Meta30", MetaPixelChannelBit(30), UndefinedOptionFlag, MagickFalse },
213 {
"Meta31", MetaPixelChannelBit(31), UndefinedOptionFlag, MagickFalse },
214 {
"Meta32", MetaPixelChannelBit(32), UndefinedOptionFlag, MagickFalse },
215 {
"Meta33", MetaPixelChannelBit(33), UndefinedOptionFlag, MagickFalse },
216 {
"Meta34", MetaPixelChannelBit(34), UndefinedOptionFlag, MagickFalse },
217 {
"Meta35", MetaPixelChannelBit(35), UndefinedOptionFlag, MagickFalse },
218 {
"Meta36", MetaPixelChannelBit(36), UndefinedOptionFlag, MagickFalse },
219 {
"Meta37", MetaPixelChannelBit(37), UndefinedOptionFlag, MagickFalse },
220 {
"Meta38", MetaPixelChannelBit(38), UndefinedOptionFlag, MagickFalse },
221 {
"Meta39", MetaPixelChannelBit(39), UndefinedOptionFlag, MagickFalse },
222 {
"Meta40", MetaPixelChannelBit(40), UndefinedOptionFlag, MagickFalse },
223 {
"Meta41", MetaPixelChannelBit(41), UndefinedOptionFlag, MagickFalse },
224 {
"Meta42", MetaPixelChannelBit(42), UndefinedOptionFlag, MagickFalse },
225 {
"Meta43", MetaPixelChannelBit(43), UndefinedOptionFlag, MagickFalse },
226 {
"Meta44", MetaPixelChannelBit(44), UndefinedOptionFlag, MagickFalse },
227 {
"Meta45", MetaPixelChannelBit(45), UndefinedOptionFlag, MagickFalse },
228 {
"Meta46", MetaPixelChannelBit(46), UndefinedOptionFlag, MagickFalse },
229 {
"Meta47", MetaPixelChannelBit(47), UndefinedOptionFlag, MagickFalse },
230 {
"Meta48", MetaPixelChannelBit(48), UndefinedOptionFlag, MagickFalse },
231 {
"Meta49", MetaPixelChannelBit(49), UndefinedOptionFlag, MagickFalse },
232 {
"Meta50", MetaPixelChannelBit(50), UndefinedOptionFlag, MagickFalse },
233 {
"Meta51", MetaPixelChannelBit(51), UndefinedOptionFlag, MagickFalse },
234 {
"Meta52", MetaPixelChannelBit(52), UndefinedOptionFlag, MagickFalse },
236 {
"R", RedChannel, UndefinedOptionFlag, MagickFalse },
237 {
"ReadMask", ReadMaskChannel, UndefinedOptionFlag, MagickFalse },
238 {
"Red", RedChannel, UndefinedOptionFlag, MagickFalse },
239 {
"S", GreenChannel, UndefinedOptionFlag, MagickFalse },
240 {
"Saturation", GreenChannel, UndefinedOptionFlag, MagickFalse },
241 {
"WriteMask", WriteMaskChannel, UndefinedOptionFlag, MagickFalse },
242 {
"Y", YellowChannel, UndefinedOptionFlag, MagickFalse },
243 {
"Yellow", YellowChannel, UndefinedOptionFlag, MagickFalse },
244 {
"0", RedChannel, UndefinedOptionFlag, MagickFalse },
245 {
"1", GreenChannel, UndefinedOptionFlag, MagickFalse },
246 {
"2", BlueChannel, UndefinedOptionFlag, MagickFalse },
247 {
"3", BlackChannel, UndefinedOptionFlag, MagickFalse },
248 {
"4", AlphaChannel, UndefinedOptionFlag, MagickFalse },
249 {
"5", IndexChannel, UndefinedOptionFlag, MagickFalse },
250 {
"6", ReadMaskChannel, UndefinedOptionFlag, MagickFalse },
251 {
"7", WriteMaskChannel, UndefinedOptionFlag, MagickFalse },
252 {
"8", MetaChannel, UndefinedOptionFlag, MagickFalse },
253 {
"9", CompositeMaskChannel, UndefinedOptionFlag, MagickFalse },
254 {
"10", MetaPixelChannelBit(0), UndefinedOptionFlag, MagickFalse },
255 {
"11", MetaPixelChannelBit(1), UndefinedOptionFlag, MagickFalse },
256 {
"12", MetaPixelChannelBit(2), UndefinedOptionFlag, MagickFalse },
257 {
"13", MetaPixelChannelBit(3), UndefinedOptionFlag, MagickFalse },
258 {
"14", MetaPixelChannelBit(4), UndefinedOptionFlag, MagickFalse },
259 {
"15", MetaPixelChannelBit(5), UndefinedOptionFlag, MagickFalse },
260 {
"16", MetaPixelChannelBit(6), UndefinedOptionFlag, MagickFalse },
261 {
"17", MetaPixelChannelBit(7), UndefinedOptionFlag, MagickFalse },
262 {
"18", MetaPixelChannelBit(8), UndefinedOptionFlag, MagickFalse },
263 {
"19", MetaPixelChannelBit(9), UndefinedOptionFlag, MagickFalse },
264 {
"20", MetaPixelChannelBit(10), UndefinedOptionFlag, MagickFalse },
265 {
"21", MetaPixelChannelBit(11), UndefinedOptionFlag, MagickFalse },
266 {
"22", MetaPixelChannelBit(12), UndefinedOptionFlag, MagickFalse },
267 {
"23", MetaPixelChannelBit(13), UndefinedOptionFlag, MagickFalse },
268 {
"24", MetaPixelChannelBit(14), UndefinedOptionFlag, MagickFalse },
269 {
"25", MetaPixelChannelBit(15), UndefinedOptionFlag, MagickFalse },
270 {
"26", MetaPixelChannelBit(16), UndefinedOptionFlag, MagickFalse },
271 {
"27", MetaPixelChannelBit(17), UndefinedOptionFlag, MagickFalse },
272 {
"28", MetaPixelChannelBit(18), UndefinedOptionFlag, MagickFalse },
273 {
"29", MetaPixelChannelBit(19), UndefinedOptionFlag, MagickFalse },
274 {
"30", MetaPixelChannelBit(20), UndefinedOptionFlag, MagickFalse },
275 {
"31", MetaPixelChannelBit(21), UndefinedOptionFlag, MagickFalse },
276#if defined(MAGICKCORE_64BIT_CHANNEL_MASK_SUPPORT)
277 {
"32", MetaPixelChannelBit(22), UndefinedOptionFlag, MagickFalse },
278 {
"33", MetaPixelChannelBit(23), UndefinedOptionFlag, MagickFalse },
279 {
"34", MetaPixelChannelBit(24), UndefinedOptionFlag, MagickFalse },
280 {
"35", MetaPixelChannelBit(25), UndefinedOptionFlag, MagickFalse },
281 {
"36", MetaPixelChannelBit(26), UndefinedOptionFlag, MagickFalse },
282 {
"37", MetaPixelChannelBit(27), UndefinedOptionFlag, MagickFalse },
283 {
"38", MetaPixelChannelBit(28), UndefinedOptionFlag, MagickFalse },
284 {
"39", MetaPixelChannelBit(29), UndefinedOptionFlag, MagickFalse },
285 {
"40", MetaPixelChannelBit(30), UndefinedOptionFlag, MagickFalse },
286 {
"41", MetaPixelChannelBit(31), UndefinedOptionFlag, MagickFalse },
287 {
"42", MetaPixelChannelBit(32), UndefinedOptionFlag, MagickFalse },
288 {
"43", MetaPixelChannelBit(33), UndefinedOptionFlag, MagickFalse },
289 {
"44", MetaPixelChannelBit(34), UndefinedOptionFlag, MagickFalse },
290 {
"45", MetaPixelChannelBit(35), UndefinedOptionFlag, MagickFalse },
291 {
"46", MetaPixelChannelBit(36), UndefinedOptionFlag, MagickFalse },
292 {
"47", MetaPixelChannelBit(37), UndefinedOptionFlag, MagickFalse },
293 {
"48", MetaPixelChannelBit(38), UndefinedOptionFlag, MagickFalse },
294 {
"49", MetaPixelChannelBit(39), UndefinedOptionFlag, MagickFalse },
295 {
"50", MetaPixelChannelBit(40), UndefinedOptionFlag, MagickFalse },
296 {
"51", MetaPixelChannelBit(41), UndefinedOptionFlag, MagickFalse },
297 {
"52", MetaPixelChannelBit(42), UndefinedOptionFlag, MagickFalse },
298 {
"53", MetaPixelChannelBit(43), UndefinedOptionFlag, MagickFalse },
299 {
"54", MetaPixelChannelBit(44), UndefinedOptionFlag, MagickFalse },
300 {
"55", MetaPixelChannelBit(45), UndefinedOptionFlag, MagickFalse },
301 {
"56", MetaPixelChannelBit(46), UndefinedOptionFlag, MagickFalse },
302 {
"57", MetaPixelChannelBit(47), UndefinedOptionFlag, MagickFalse },
303 {
"58", MetaPixelChannelBit(48), UndefinedOptionFlag, MagickFalse },
304 {
"59", MetaPixelChannelBit(49), UndefinedOptionFlag, MagickFalse },
305 {
"60", MetaPixelChannelBit(50), UndefinedOptionFlag, MagickFalse },
306 {
"61", MetaPixelChannelBit(51), UndefinedOptionFlag, MagickFalse },
307 {
"62", MetaPixelChannelBit(52), UndefinedOptionFlag, MagickFalse },
309 { (
char *) NULL, UndefinedChannel, UndefinedOptionFlag, MagickFalse }
313 {
"Undefined", UndefinedClass, UndefinedOptionFlag, MagickTrue },
314 {
"DirectClass", DirectClass, UndefinedOptionFlag, MagickFalse },
315 {
"PseudoClass", PseudoClass, UndefinedOptionFlag, MagickFalse },
316 { (
char *) NULL, UndefinedClass, UndefinedOptionFlag, MagickFalse }
320 {
"Setting", 0, UndefinedOptionFlag, MagickFalse },
321 {
" adjoin", 0, UndefinedOptionFlag, MagickFalse },
322 {
" affine", 0, UndefinedOptionFlag, MagickFalse },
323 {
" alpha", 0, UndefinedOptionFlag, MagickFalse },
324 {
" antialias", 0, UndefinedOptionFlag, MagickFalse },
325 {
" authenticate", 0, UndefinedOptionFlag, MagickFalse },
326 {
" background", 0, UndefinedOptionFlag, MagickFalse },
327 {
" bias", 0, UndefinedOptionFlag, MagickFalse },
328 {
" bilateral-blur", 0, UndefinedOptionFlag, MagickFalse },
329 {
" black-point-compensation", 0, UndefinedOptionFlag, MagickFalse },
330 {
" blue-primary", 0, UndefinedOptionFlag, MagickFalse },
331 {
" bordercolor", 0, UndefinedOptionFlag, MagickFalse },
332 {
" caption", 0, UndefinedOptionFlag, MagickFalse },
333 {
" channel", 0, UndefinedOptionFlag, MagickFalse },
334 {
" comment", 0, UndefinedOptionFlag, MagickFalse },
335 {
" compress", 0, UndefinedOptionFlag, MagickFalse },
336 {
" debug", 0, UndefinedOptionFlag, MagickFalse },
337 {
" define", 0, UndefinedOptionFlag, MagickFalse },
338 {
" delay", 0, UndefinedOptionFlag, MagickFalse },
339 {
" density", 0, UndefinedOptionFlag, MagickFalse },
340 {
" depth", 0, UndefinedOptionFlag, MagickFalse },
341 {
" direction", 0, UndefinedOptionFlag, MagickFalse },
342 {
" display", 0, UndefinedOptionFlag, MagickFalse },
343 {
" dispose", 0, UndefinedOptionFlag, MagickFalse },
344 {
" dither", 0, UndefinedOptionFlag, MagickFalse },
345 {
" encoding", 0, UndefinedOptionFlag, MagickFalse },
346 {
" endian", 0, UndefinedOptionFlag, MagickFalse },
347 {
" extract", 0, UndefinedOptionFlag, MagickFalse },
348 {
" family", 0, UndefinedOptionFlag, MagickFalse },
349 {
" fill", 0, UndefinedOptionFlag, MagickFalse },
350 {
" filter", 0, UndefinedOptionFlag, MagickFalse },
351 {
" font", 0, UndefinedOptionFlag, MagickFalse },
352 {
" format", 0, UndefinedOptionFlag, MagickFalse },
353 {
" fuzz", 0, UndefinedOptionFlag, MagickFalse },
354 {
" geometry", 0, UndefinedOptionFlag, MagickFalse },
355 {
" gravity", 0, UndefinedOptionFlag, MagickFalse },
356 {
" green-primary", 0, UndefinedOptionFlag, MagickFalse },
357 {
" interlace", 0, UndefinedOptionFlag, MagickFalse },
358 {
" intent", 0, UndefinedOptionFlag, MagickFalse },
359 {
" interpolate", 0, UndefinedOptionFlag, MagickFalse },
360 {
" label", 0, UndefinedOptionFlag, MagickFalse },
361 {
" limit", 0, UndefinedOptionFlag, MagickFalse },
362 {
" linewidth", 0, UndefinedOptionFlag, MagickFalse },
363 {
" log", 0, UndefinedOptionFlag, MagickFalse },
364 {
" loop", 0, UndefinedOptionFlag, MagickFalse },
365 {
" mattecolor", 0, UndefinedOptionFlag, MagickFalse },
366 {
" monitor", 0, UndefinedOptionFlag, MagickFalse },
367 {
" orient", 0, UndefinedOptionFlag, MagickFalse },
368 {
" page", 0, UndefinedOptionFlag, MagickFalse },
369 {
" pointsize", 0, UndefinedOptionFlag, MagickFalse },
370 {
" preview", 0, UndefinedOptionFlag, MagickFalse },
371 {
" quality", 0, UndefinedOptionFlag, MagickFalse },
372 {
" quiet", 0, UndefinedOptionFlag, MagickFalse },
373 {
" read-mask", 0, UndefinedOptionFlag, MagickFalse },
374 {
" red-primary", 0, UndefinedOptionFlag, MagickFalse },
375 {
" region", 0, UndefinedOptionFlag, MagickFalse },
376 {
" render", 0, UndefinedOptionFlag, MagickFalse },
377 {
" repage", 0, UndefinedOptionFlag, MagickFalse },
378 {
" sampling-factor", 0, UndefinedOptionFlag, MagickFalse },
379 {
" scene", 0, UndefinedOptionFlag, MagickFalse },
380 {
" seed", 0, UndefinedOptionFlag, MagickFalse },
381 {
" size", 0, UndefinedOptionFlag, MagickFalse },
382 {
" stretch", 0, UndefinedOptionFlag, MagickFalse },
383 {
" stroke", 0, UndefinedOptionFlag, MagickFalse },
384 {
" strokewidth", 0, UndefinedOptionFlag, MagickFalse },
385 {
" style", 0, UndefinedOptionFlag, MagickFalse },
386 {
" texture", 0, UndefinedOptionFlag, MagickFalse },
387 {
" tile", 0, UndefinedOptionFlag, MagickFalse },
388 {
" transparent-color", 0, UndefinedOptionFlag, MagickFalse },
389 {
" treedepth", 0, UndefinedOptionFlag, MagickFalse },
390 {
" type", 0, UndefinedOptionFlag, MagickFalse },
391 {
" undercolor", 0, UndefinedOptionFlag, MagickFalse },
392 {
" units", 0, UndefinedOptionFlag, MagickFalse },
393 {
" verbose", 0, UndefinedOptionFlag, MagickFalse },
394 {
" virtual-pixel", 0, UndefinedOptionFlag, MagickFalse },
395 {
" weight", 0, UndefinedOptionFlag, MagickFalse },
396 {
" write-mask", 0, UndefinedOptionFlag, MagickFalse },
397 {
"Operator", 0, UndefinedOptionFlag, MagickFalse },
398 {
" annotate", 0, UndefinedOptionFlag, MagickFalse },
399 {
" black-threshold", 0, UndefinedOptionFlag, MagickFalse },
400 {
" blur", 0, UndefinedOptionFlag, MagickFalse },
401 {
" border", 0, UndefinedOptionFlag, MagickFalse },
402 {
" charcoal", 0, UndefinedOptionFlag, MagickFalse },
403 {
" chop", 0, UndefinedOptionFlag, MagickFalse },
404 {
" clip", 0, UndefinedOptionFlag, MagickFalse },
405 {
" clip-path", 0, UndefinedOptionFlag, MagickFalse },
406 {
" clip-mask", 0, UndefinedOptionFlag, MagickFalse },
407 {
" colors", 0, UndefinedOptionFlag, MagickFalse },
408 {
" colorize", 0, UndefinedOptionFlag, MagickFalse },
409 {
" colorspace", 0, UndefinedOptionFlag, MagickFalse },
410 {
" color-threshold", 0, UndefinedOptionFlag, MagickFalse },
411 {
" compose", 0, UndefinedOptionFlag, MagickFalse },
412 {
" contrast", 0, UndefinedOptionFlag, MagickFalse },
413 {
" convolve", 0, UndefinedOptionFlag, MagickFalse },
414 {
" crop", 0, UndefinedOptionFlag, MagickFalse },
415 {
" cycle", 0, UndefinedOptionFlag, MagickFalse },
416 {
" despeckle", 0, UndefinedOptionFlag, MagickFalse },
417 {
" draw", 0, UndefinedOptionFlag, MagickFalse },
418 {
" edge", 0, UndefinedOptionFlag, MagickFalse },
419 {
" emboss", 0, UndefinedOptionFlag, MagickFalse },
420 {
" enhance", 0, UndefinedOptionFlag, MagickFalse },
421 {
" equalize", 0, UndefinedOptionFlag, MagickFalse },
422 {
" evaluate", 0, UndefinedOptionFlag, MagickFalse },
423 {
" extent", 0, UndefinedOptionFlag, MagickFalse },
424 {
" flip", 0, UndefinedOptionFlag, MagickFalse },
425 {
" flop", 0, UndefinedOptionFlag, MagickFalse },
426 {
" floodfill", 0, UndefinedOptionFlag, MagickFalse },
427 {
" frame", 0, UndefinedOptionFlag, MagickFalse },
428 {
" gamma", 0, UndefinedOptionFlag, MagickFalse },
429 {
" gaussian-blur", 0, UndefinedOptionFlag, MagickFalse },
430 {
" grayscale", 0, UndefinedOptionFlag, MagickFalse },
431 {
" implode", 0, UndefinedOptionFlag, MagickFalse },
432 {
" integral", 0, UndefinedOptionFlag, MagickFalse },
433 {
" kmeans", 0, UndefinedOptionFlag, MagickFalse },
434 {
" lat", 0, UndefinedOptionFlag, MagickFalse },
435 {
" level", 0, UndefinedOptionFlag, MagickFalse },
436 {
" map", 0, UndefinedOptionFlag, MagickFalse },
437 {
" median", 0, UndefinedOptionFlag, MagickFalse },
438 {
" modulate", 0, UndefinedOptionFlag, MagickFalse },
439 {
" monochrome", 0, UndefinedOptionFlag, MagickFalse },
440 {
" negate", 0, UndefinedOptionFlag, MagickFalse },
441 {
" noise", 0, UndefinedOptionFlag, MagickFalse },
442 {
" normalize", 0, UndefinedOptionFlag, MagickFalse },
443 {
" opaque", 0, UndefinedOptionFlag, MagickFalse },
444 {
" ordered-dither", 0, UndefinedOptionFlag, MagickFalse },
445 {
" paint", 0, UndefinedOptionFlag, MagickFalse },
446 {
" posterize", 0, UndefinedOptionFlag, MagickFalse },
447 {
" raise", 0, UndefinedOptionFlag, MagickFalse },
448 {
" profile", 0, UndefinedOptionFlag, MagickFalse },
449 {
" radial-blur", 0, UndefinedOptionFlag, MagickFalse },
450 {
" raise", 0, UndefinedOptionFlag, MagickFalse },
451 {
" random-threshold", 0, UndefinedOptionFlag, MagickFalse },
452 {
" range-threshold", 0, UndefinedOptionFlag, MagickFalse },
453 {
" resample", 0, UndefinedOptionFlag, MagickFalse },
454 {
" reshape", 0, UndefinedOptionFlag, MagickFalse },
455 {
" resize", 0, UndefinedOptionFlag, MagickFalse },
456 {
" roll", 0, UndefinedOptionFlag, MagickFalse },
457 {
" rotate", 0, UndefinedOptionFlag, MagickFalse },
458 {
" sample", 0, UndefinedOptionFlag, MagickFalse },
459 {
" scale", 0, UndefinedOptionFlag, MagickFalse },
460 {
" sepia-tone", 0, UndefinedOptionFlag, MagickFalse },
461 {
" segment", 0, UndefinedOptionFlag, MagickFalse },
462 {
" shade", 0, UndefinedOptionFlag, MagickFalse },
463 {
" shadow", 0, UndefinedOptionFlag, MagickFalse },
464 {
" sharpen", 0, UndefinedOptionFlag, MagickFalse },
465 {
" shave", 0, UndefinedOptionFlag, MagickFalse },
466 {
" shear", 0, UndefinedOptionFlag, MagickFalse },
467 {
" sigmoidal-contrast", 0, UndefinedOptionFlag, MagickFalse },
468 {
" solarize", 0, UndefinedOptionFlag, MagickFalse },
469 {
" splice", 0, UndefinedOptionFlag, MagickFalse },
470 {
" spread", 0, UndefinedOptionFlag, MagickFalse },
471 {
" strip", 0, UndefinedOptionFlag, MagickFalse },
472 {
" swirl", 0, UndefinedOptionFlag, MagickFalse },
473 {
" threshold", 0, UndefinedOptionFlag, MagickFalse },
474 {
" transparent", 0, UndefinedOptionFlag, MagickFalse },
475 {
" thumbnail", 0, UndefinedOptionFlag, MagickFalse },
476 {
" tint", 0, UndefinedOptionFlag, MagickFalse },
477 {
" transform", 0, UndefinedOptionFlag, MagickFalse },
478 {
" trim", 0, UndefinedOptionFlag, MagickFalse },
479 {
" unsharp", 0, UndefinedOptionFlag, MagickFalse },
480 {
" version", 0, UndefinedOptionFlag, MagickFalse },
481 {
" wave", 0, UndefinedOptionFlag, MagickFalse },
482 {
" white-point", 0, UndefinedOptionFlag, MagickFalse },
483 {
" white-threshold", 0, UndefinedOptionFlag, MagickFalse },
484 {
"Channel Operator", 0, UndefinedOptionFlag, MagickFalse },
485 {
" channel-fx", 0, UndefinedOptionFlag, MagickFalse },
486 {
" separate", 0, UndefinedOptionFlag, MagickFalse },
487 {
"Sequence Operator", 0, UndefinedOptionFlag, MagickFalse },
488 {
" append", 0, UndefinedOptionFlag, MagickFalse },
489 {
" affinity", 0, UndefinedOptionFlag, MagickFalse },
490 {
" average", 0, UndefinedOptionFlag, MagickFalse },
491 {
" clut", 0, UndefinedOptionFlag, MagickFalse },
492 {
" coalesce", 0, UndefinedOptionFlag, MagickFalse },
493 {
" combine", 0, UndefinedOptionFlag, MagickFalse },
494 {
" compare", 0, UndefinedOptionFlag, MagickFalse },
495 {
" complex", 0, UndefinedOptionFlag, MagickFalse },
496 {
" composite", 0, UndefinedOptionFlag, MagickFalse },
497 {
" copy", 0, UndefinedOptionFlag, MagickFalse },
498 {
" crop", 0, UndefinedOptionFlag, MagickFalse },
499 {
" debug", 0, UndefinedOptionFlag, MagickFalse },
500 {
" deconstruct", 0, UndefinedOptionFlag, MagickFalse },
501 {
" delete", 0, UndefinedOptionFlag, MagickFalse },
502 {
" evaluate-sequence", 0, UndefinedOptionFlag, MagickFalse },
503 {
" fft", 0, UndefinedOptionFlag, MagickFalse },
504 {
" flatten", 0, UndefinedOptionFlag, MagickFalse },
505 {
" fx", 0, UndefinedOptionFlag, MagickFalse },
506 {
" hald-clut", 0, UndefinedOptionFlag, MagickFalse },
507 {
" ift", 0, UndefinedOptionFlag, MagickFalse },
508 {
" identify", 0, UndefinedOptionFlag, MagickFalse },
509 {
" insert", 0, UndefinedOptionFlag, MagickFalse },
510 {
" layers", 0, UndefinedOptionFlag, MagickFalse },
511 {
" limit", 0, UndefinedOptionFlag, MagickFalse },
512 {
" map", 0, UndefinedOptionFlag, MagickFalse },
513 {
" maximum", 0, UndefinedOptionFlag, MagickFalse },
514 {
" minimum", 0, UndefinedOptionFlag, MagickFalse },
515 {
" morph", 0, UndefinedOptionFlag, MagickFalse },
516 {
" mosaic", 0, UndefinedOptionFlag, MagickFalse },
517 {
" optimize", 0, UndefinedOptionFlag, MagickFalse },
518 {
" print", 0, UndefinedOptionFlag, MagickFalse },
519 {
" process", 0, UndefinedOptionFlag, MagickFalse },
520 {
" quiet", 0, UndefinedOptionFlag, MagickFalse },
521 {
" swap", 0, UndefinedOptionFlag, MagickFalse },
522 {
" write", 0, UndefinedOptionFlag, MagickFalse },
523 {
"Geometry", 0, UndefinedOptionFlag, MagickFalse },
524 {
" adaptive-resize", 0, UndefinedOptionFlag, MagickFalse },
525 {
" border", 0, UndefinedOptionFlag, MagickFalse },
526 {
" borderwidth", 0, UndefinedOptionFlag, MagickFalse },
527 {
" chop", 0, UndefinedOptionFlag, MagickFalse },
528 {
" crop", 0, UndefinedOptionFlag, MagickFalse },
529 {
" density", 0, UndefinedOptionFlag, MagickFalse },
530 {
" extent", 0, UndefinedOptionFlag, MagickFalse },
531 {
" extract", 0, UndefinedOptionFlag, MagickFalse },
532 {
" frame", 0, UndefinedOptionFlag, MagickFalse },
533 {
" geometry", 0, UndefinedOptionFlag, MagickFalse },
534 {
" iconGeometry", 0, UndefinedOptionFlag, MagickFalse },
535 {
" liquid-rescale", 0, UndefinedOptionFlag, MagickFalse },
536 {
" page", 0, UndefinedOptionFlag, MagickFalse },
537 {
" region", 0, UndefinedOptionFlag, MagickFalse },
538 {
" repage", 0, UndefinedOptionFlag, MagickFalse },
539 {
" reshape", 0, UndefinedOptionFlag, MagickFalse },
540 {
" resize", 0, UndefinedOptionFlag, MagickFalse },
541 {
" sample", 0, UndefinedOptionFlag, MagickFalse },
542 {
" scale", 0, UndefinedOptionFlag, MagickFalse },
543 {
" shave", 0, UndefinedOptionFlag, MagickFalse },
544 {
" splice", 0, UndefinedOptionFlag, MagickFalse },
545 {
" thumbnail", 0, UndefinedOptionFlag, MagickFalse },
546 {
" window", 0, UndefinedOptionFlag, MagickFalse },
547 {
"Stack", 0, UndefinedOptionFlag, MagickFalse },
548 {
" clone", 0, UndefinedOptionFlag, MagickFalse },
549 {
" delete", 0, UndefinedOptionFlag, MagickFalse },
550 {
" insert", 0, UndefinedOptionFlag, MagickFalse },
551 {
" swap", 0, UndefinedOptionFlag, MagickFalse },
552 { (
char *) NULL, 0, UndefinedOptionFlag, MagickFalse }
556 {
"Undefined", UndefinedPathUnits, UndefinedOptionFlag, MagickTrue },
557 {
"ObjectBoundingBox", ObjectBoundingBox, UndefinedOptionFlag, MagickFalse },
558 {
"UserSpace", UserSpace, UndefinedOptionFlag, MagickFalse },
559 {
"UserSpaceOnUse", UserSpaceOnUse, UndefinedOptionFlag, MagickFalse },
560 { (
char *) NULL, UndefinedPathUnits, UndefinedOptionFlag, MagickFalse }
562 ColorspaceOptions[] =
564 {
"Undefined", UndefinedColorspace, UndefinedOptionFlag, MagickTrue },
565 {
"Adobe98", Adobe98Colorspace, UndefinedOptionFlag, MagickFalse },
566 {
"CIELab", LabColorspace, UndefinedOptionFlag, MagickFalse },
567 {
"CMY", CMYColorspace, UndefinedOptionFlag, MagickFalse },
568 {
"CMYK", CMYKColorspace, UndefinedOptionFlag, MagickFalse },
569 {
"DisplayP3", DisplayP3Colorspace, UndefinedOptionFlag, MagickFalse },
570 {
"Gray", GRAYColorspace, UndefinedOptionFlag, MagickFalse },
571 {
"HCL", HCLColorspace, UndefinedOptionFlag, MagickFalse },
572 {
"HCLp", HCLpColorspace, UndefinedOptionFlag, MagickFalse },
573 {
"HSB", HSBColorspace, UndefinedOptionFlag, MagickFalse },
574 {
"HSI", HSIColorspace, UndefinedOptionFlag, MagickFalse },
575 {
"HSL", HSLColorspace, UndefinedOptionFlag, MagickFalse },
576 {
"HSV", HSVColorspace, UndefinedOptionFlag, MagickFalse },
577 {
"HWB", HWBColorspace, UndefinedOptionFlag, MagickFalse },
578 {
"Jzazbz", JzazbzColorspace, UndefinedOptionFlag, MagickFalse },
579 {
"Lab", LabColorspace, UndefinedOptionFlag, MagickFalse },
580 {
"LCH", LCHColorspace, UndefinedOptionFlag, MagickFalse },
581 {
"LCHab", LCHabColorspace, UndefinedOptionFlag, MagickFalse },
582 {
"LCHuv", LCHuvColorspace, UndefinedOptionFlag, MagickFalse },
583 {
"LinearGray", LinearGRAYColorspace, UndefinedOptionFlag, MagickFalse },
584 {
"LMS", LMSColorspace, UndefinedOptionFlag, MagickFalse },
585 {
"Log", LogColorspace, UndefinedOptionFlag, MagickFalse },
586 {
"Luv", LuvColorspace, UndefinedOptionFlag, MagickFalse },
587 {
"OHTA", OHTAColorspace, UndefinedOptionFlag, MagickFalse },
588 {
"Oklab", OklabColorspace, UndefinedOptionFlag, MagickFalse },
589 {
"Oklch", OklchColorspace, UndefinedOptionFlag, MagickFalse },
590 {
"ProPhoto", ProPhotoColorspace, UndefinedOptionFlag, MagickFalse },
591 {
"Rec601YCbCr", Rec601YCbCrColorspace, UndefinedOptionFlag, MagickFalse },
592 {
"Rec709YCbCr", Rec709YCbCrColorspace, UndefinedOptionFlag, MagickFalse },
593 {
"RGB", RGBColorspace, UndefinedOptionFlag, MagickFalse },
594 {
"scRGB", scRGBColorspace, UndefinedOptionFlag, MagickFalse },
595 {
"sRGB", sRGBColorspace, UndefinedOptionFlag, MagickFalse },
596 {
"Transparent", TransparentColorspace, UndefinedOptionFlag, MagickFalse },
597 {
"xyY", xyYColorspace, UndefinedOptionFlag, MagickFalse },
598 {
"XYZ", XYZColorspace, UndefinedOptionFlag, MagickFalse },
599 {
"YCbCr", YCbCrColorspace, UndefinedOptionFlag, MagickFalse },
600 {
"YDbDr", YDbDrColorspace, UndefinedOptionFlag, MagickFalse },
601 {
"YCC", YCCColorspace, UndefinedOptionFlag, MagickFalse },
602 {
"YIQ", YIQColorspace, UndefinedOptionFlag, MagickFalse },
603 {
"YPbPr", YPbPrColorspace, UndefinedOptionFlag, MagickFalse },
604 {
"YUV", YUVColorspace, UndefinedOptionFlag, MagickFalse },
605 { (
char *) NULL, UndefinedColorspace, UndefinedOptionFlag, MagickFalse }
609 {
"Undefined", UndefinedComplexOperator, UndefinedOptionFlag, MagickTrue },
610 {
"Add", AddComplexOperator, UndefinedOptionFlag, MagickFalse },
611 {
"Conjugate", ConjugateComplexOperator, UndefinedOptionFlag, MagickFalse },
612 {
"Divide", DivideComplexOperator, UndefinedOptionFlag, MagickFalse },
613 {
"MagnitudePhase", MagnitudePhaseComplexOperator, UndefinedOptionFlag, MagickFalse },
614 {
"Multiply", MultiplyComplexOperator, UndefinedOptionFlag, MagickFalse },
615 {
"RealImaginary", RealImaginaryComplexOperator, UndefinedOptionFlag, MagickFalse },
616 {
"Subtract", SubtractComplexOperator, UndefinedOptionFlag, MagickFalse },
617 { (
char *) NULL, UndefinedComplexOperator, UndefinedOptionFlag, MagickFalse }
624 {
"+alpha", 1L, DeprecateOptionFlag, MagickTrue },
625 {
"-alpha", 1L, SimpleOperatorFlag, MagickFalse },
626 {
"+background", 0L, ImageInfoOptionFlag, MagickFalse },
627 {
"-background", 1L, ImageInfoOptionFlag, MagickFalse },
628 {
"+format", 0L, ImageInfoOptionFlag, MagickFalse },
629 {
"-format", 1L, ImageInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
630 {
"-quiet", 0L, GlobalOptionFlag | FireOptionFlag, MagickFalse },
631 {
"+quiet", 0L, GlobalOptionFlag | FireOptionFlag, MagickFalse },
632 {
"-regard-warnings", 0L, ImageInfoOptionFlag, MagickFalse },
633 {
"+regard-warnings", 0L, ImageInfoOptionFlag, MagickFalse },
634 {
"+repage", 0L, SimpleOperatorFlag, MagickFalse },
635 {
"-repage", 1L, SimpleOperatorFlag, MagickFalse },
636 {
"+size", 0L, ImageInfoOptionFlag, MagickFalse },
637 {
"-size", 1L, ImageInfoOptionFlag, MagickFalse },
638 {
"+virtual-pixel", 0L, ImageInfoOptionFlag, MagickFalse },
639 {
"-virtual-pixel", 1L, ImageInfoOptionFlag, MagickFalse },
640 {
"+blur", 0L, DeprecateOptionFlag, MagickTrue },
641 {
"-blur", 1L, SimpleOperatorFlag, MagickFalse },
642 {
"+reshape", 1L, DeprecateOptionFlag, MagickTrue },
643 {
"-reshape", 1L, SimpleOperatorFlag, MagickFalse },
644 {
"+resize", 1L, DeprecateOptionFlag, MagickTrue },
645 {
"-resize", 1L, SimpleOperatorFlag, MagickFalse },
646 {
"(", 0L, NoImageOperatorFlag, MagickTrue },
647 {
")", 0L, NoImageOperatorFlag, MagickTrue },
648 {
"{", 0L, NoImageOperatorFlag, MagickTrue },
649 {
"}", 0L, NoImageOperatorFlag, MagickTrue },
650 {
"--", 1L, NoImageOperatorFlag, MagickTrue },
651 {
"+adaptive-blur", 1L, DeprecateOptionFlag, MagickTrue },
652 {
"-adaptive-blur", 1L, SimpleOperatorFlag, MagickFalse },
653 {
"+adaptive-resize", 1L, DeprecateOptionFlag, MagickTrue },
654 {
"-adaptive-resize", 1L, SimpleOperatorFlag, MagickFalse },
655 {
"+adaptive-sharpen", 1L, DeprecateOptionFlag, MagickTrue },
656 {
"-adaptive-sharpen", 1L, SimpleOperatorFlag, MagickFalse },
657 {
"-adjoin", 0L, ImageInfoOptionFlag, MagickFalse },
658 {
"+adjoin", 0L, ImageInfoOptionFlag, MagickFalse },
659 {
"+affine", 0L, ReplacedOptionFlag | DrawInfoOptionFlag, MagickTrue },
660 {
"-affine", 1L, ReplacedOptionFlag | DrawInfoOptionFlag, MagickTrue },
661 {
"+affinity", 0L, DeprecateOptionFlag, MagickTrue },
662 {
"-affinity", 1L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
663 {
"+mattecolor", 0L, ImageInfoOptionFlag, MagickFalse },
664 {
"-mattecolor", 1L, ImageInfoOptionFlag, MagickFalse },
665 {
"+annotate", 0L, DeprecateOptionFlag, MagickTrue },
666 {
"-annotate", 2L, SimpleOperatorFlag | AlwaysInterpretArgsFlag, MagickFalse },
667 {
"-antialias", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
668 {
"+antialias", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
669 {
"-append", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
670 {
"+append", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
671 {
"+attenuate", 0L, ImageInfoOptionFlag, MagickFalse },
672 {
"-attenuate", 1L, ImageInfoOptionFlag, MagickFalse },
673 {
"+authenticate", 0L, ImageInfoOptionFlag, MagickFalse },
674 {
"-authenticate", 1L, ImageInfoOptionFlag, MagickFalse },
675 {
"+auto-gamma", 0L, DeprecateOptionFlag, MagickTrue },
676 {
"-auto-gamma", 0L, SimpleOperatorFlag, MagickFalse },
677 {
"+auto-level", 0L, DeprecateOptionFlag, MagickTrue },
678 {
"-auto-level", 0L, SimpleOperatorFlag, MagickFalse },
679 {
"+auto-orient", 0L, DeprecateOptionFlag, MagickTrue },
680 {
"-auto-orient", 0L, SimpleOperatorFlag, MagickFalse },
681 {
"+auto-threshold", 1L, DeprecateOptionFlag, MagickTrue },
682 {
"-auto-threshold", 1L, SimpleOperatorFlag, MagickFalse },
683 {
"+average", 0L, DeprecateOptionFlag, MagickTrue },
684 {
"-average", 0L, ReplacedOptionFlag | ListOperatorFlag | FireOptionFlag, MagickTrue },
685 {
"+backdrop", 0L, NonMagickOptionFlag | NeverInterpretArgsFlag, MagickFalse },
686 {
"-backdrop", 1L, NonMagickOptionFlag | NeverInterpretArgsFlag, MagickFalse },
687 {
"+bench", 1L, DeprecateOptionFlag, MagickTrue },
688 {
"-bench", 1L, GenesisOptionFlag, MagickFalse },
689 {
"+bias", 0L, ImageInfoOptionFlag, MagickFalse },
690 {
"-bias", 1L, ImageInfoOptionFlag, MagickFalse },
691 {
"+bilateral-blur", 1L, DeprecateOptionFlag, MagickTrue },
692 {
"-bilateral-blur", 1L, SimpleOperatorFlag, MagickFalse },
693 {
"-black-point-compensation", 0L, ImageInfoOptionFlag, MagickFalse },
694 {
"+black-point-compensation", 0L, ImageInfoOptionFlag, MagickFalse },
695 {
"+black-threshold", 0L, DeprecateOptionFlag, MagickTrue },
696 {
"-black-threshold", 1L, SimpleOperatorFlag, MagickFalse },
697 {
"+blend", 0L, NonMagickOptionFlag, MagickFalse },
698 {
"-blend", 1L, NonMagickOptionFlag, MagickFalse },
699 {
"+blue-primary", 0L, ImageInfoOptionFlag, MagickFalse },
700 {
"-blue-primary", 1L, ImageInfoOptionFlag, MagickFalse },
701 {
"-blue-shift", 1L, SimpleOperatorFlag, MagickFalse },
702 {
"+blue-shift", 1L, SimpleOperatorFlag, MagickFalse },
703 {
"+border", 1L, DeprecateOptionFlag, MagickTrue },
704 {
"-border", 1L, SimpleOperatorFlag, MagickFalse },
705 {
"+bordercolor", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
706 {
"-bordercolor", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
707 {
"+borderwidth", 0L, NonMagickOptionFlag, MagickFalse },
708 {
"-borderwidth", 1L, NonMagickOptionFlag, MagickFalse },
709 {
"+box", 0L, ReplacedOptionFlag | ImageInfoOptionFlag | DrawInfoOptionFlag, MagickTrue },
710 {
"-box", 1L, ReplacedOptionFlag | ImageInfoOptionFlag | DrawInfoOptionFlag, MagickTrue },
711 {
"+brightness-contrast", 0L, DeprecateOptionFlag, MagickTrue },
712 {
"-brightness-contrast", 1L, SimpleOperatorFlag, MagickFalse },
713 {
"+cache", 0L, GlobalOptionFlag, MagickFalse },
714 {
"-cache", 1L, GlobalOptionFlag, MagickFalse },
715 {
"+canny", 1L, DeprecateOptionFlag, MagickTrue },
716 {
"-canny", 1L, SimpleOperatorFlag, MagickTrue },
717 {
"+caption", 0L, ImageInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
718 {
"-caption", 1L, ImageInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
719 {
"+cdl", 1L, DeprecateOptionFlag, MagickTrue },
720 {
"-cdl", 1L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
721 {
"+channel", 0L, SimpleOperatorFlag, MagickFalse },
722 {
"-channel", 1L, SimpleOperatorFlag, MagickFalse },
723 {
"-channel-fx", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
724 {
"+charcoal", 1L, DeprecateOptionFlag, MagickTrue },
725 {
"-charcoal", 1L, SimpleOperatorFlag, MagickFalse },
726 {
"+chop", 1L, DeprecateOptionFlag, MagickTrue },
727 {
"-chop", 1L, SimpleOperatorFlag, MagickFalse },
728 {
"+clahe", 1L, DeprecateOptionFlag, MagickTrue },
729 {
"-clahe", 1L, SimpleOperatorFlag, MagickFalse },
730 {
"+clamp", 0L, DeprecateOptionFlag, MagickTrue },
731 {
"-clamp", 0L, SimpleOperatorFlag, MagickFalse },
732 {
"-clip", 0L, SimpleOperatorFlag, MagickFalse },
733 {
"+clip", 0L, SimpleOperatorFlag, MagickFalse },
734 {
"+clip-mask", 0L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
735 {
"-clip-mask", 1L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
736 {
"-clip-path", 1L, SimpleOperatorFlag, MagickFalse },
737 {
"+clip-path", 1L, SimpleOperatorFlag, MagickFalse },
738 {
"+clone", 0L, NoImageOperatorFlag, MagickFalse },
739 {
"-clone", 1L, NoImageOperatorFlag, MagickFalse },
740 {
"+clut", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
741 {
"-clut", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
742 {
"+coalesce", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
743 {
"-coalesce", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
744 {
"+colorize", 1L, DeprecateOptionFlag, MagickTrue },
745 {
"-colorize", 1L, SimpleOperatorFlag, MagickFalse },
746 {
"+colormap", 0L, NonMagickOptionFlag, MagickFalse },
747 {
"-colormap", 1L, NonMagickOptionFlag, MagickFalse },
748 {
"+color-matrix", 1L, DeprecateOptionFlag, MagickTrue },
749 {
"-color-matrix", 1L, SimpleOperatorFlag, MagickFalse },
750 {
"+colors", 1L, DeprecateOptionFlag, MagickTrue },
751 {
"-colors", 1L, SimpleOperatorFlag, MagickFalse },
752 {
"+colorspace", 0L, ImageInfoOptionFlag | SimpleOperatorFlag, MagickFalse },
753 {
"-colorspace", 1L, ImageInfoOptionFlag | SimpleOperatorFlag, MagickFalse },
754 {
"+color-threshold", 0L, DeprecateOptionFlag, MagickTrue },
755 {
"-color-threshold", 1L, SimpleOperatorFlag, MagickFalse },
756 {
"-combine", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
757 {
"+combine", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
758 {
"+comment", 0L, ImageInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
759 {
"-comment", 1L, ImageInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
760 {
"+compare", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
761 {
"-compare", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
762 {
"+complex", 1L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
763 {
"-complex", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
764 {
"+compose", 0L, ImageInfoOptionFlag, MagickFalse },
765 {
"-compose", 1L, ImageInfoOptionFlag, MagickFalse },
766 {
"+composite", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
767 {
"-composite", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
768 {
"+compress", 0L, ImageInfoOptionFlag, MagickFalse },
769 {
"-compress", 1L, ImageInfoOptionFlag, MagickFalse },
770 {
"+concurrent", 0L, DeprecateOptionFlag, MagickTrue },
771 {
"-concurrent", 0L, GenesisOptionFlag, MagickFalse },
772 {
"+connected-components", 1L, DeprecateOptionFlag, MagickTrue },
773 {
"-connected-components", 1L, SimpleOperatorFlag, MagickFalse },
774 {
"-contrast", 0L, ReplacedOptionFlag | SimpleOperatorFlag, MagickTrue },
775 {
"+contrast", 0L, ReplacedOptionFlag | SimpleOperatorFlag, MagickTrue },
776 {
"+contrast-stretch", 1L, DeprecateOptionFlag, MagickTrue },
777 {
"-contrast-stretch", 1L, SimpleOperatorFlag, MagickFalse },
778 {
"+convolve", 1L, DeprecateOptionFlag, MagickTrue },
779 {
"-convolve", 1L, SimpleOperatorFlag, MagickFalse },
780 {
"+copy", 2L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
781 {
"-copy", 2L, ListOperatorFlag | FireOptionFlag, MagickFalse },
782 {
"+crop", 1L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
783 {
"-crop", 1L, SimpleOperatorFlag | FireOptionFlag, MagickFalse },
784 {
"+cycle", 1L, DeprecateOptionFlag, MagickTrue },
785 {
"-cycle", 1L, SimpleOperatorFlag, MagickFalse },
786 {
"+debug", 0L, GlobalOptionFlag | FireOptionFlag, MagickFalse },
787 {
"-debug", 1L, GlobalOptionFlag | FireOptionFlag, MagickFalse },
788 {
"+decipher", 1L, DeprecateOptionFlag, MagickTrue },
789 {
"-decipher", 1L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
790 {
"+deconstruct", 0L, DeprecateOptionFlag, MagickTrue },
791 {
"-deconstruct", 0L, ReplacedOptionFlag | ListOperatorFlag | FireOptionFlag, MagickTrue },
792 {
"-define", 1L, ImageInfoOptionFlag | NeverInterpretArgsFlag | FireOptionFlag, MagickFalse },
793 {
"+define", 1L, ImageInfoOptionFlag | NeverInterpretArgsFlag | FireOptionFlag, MagickFalse },
794 {
"+delay", 0L, ImageInfoOptionFlag, MagickFalse },
795 {
"-delay", 1L, ImageInfoOptionFlag, MagickFalse },
796 {
"+delete", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
797 {
"-delete", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
798 {
"+density", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
799 {
"-density", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
800 {
"+depth", 0L, ImageInfoOptionFlag | SimpleOperatorFlag, MagickFalse },
801 {
"-depth", 1L, ImageInfoOptionFlag | SimpleOperatorFlag, MagickFalse },
802 {
"+descend", 0L, NonMagickOptionFlag, MagickFalse },
803 {
"-descend", 1L, NonMagickOptionFlag, MagickFalse },
804 {
"+deskew", 0L, SimpleOperatorFlag, MagickFalse },
805 {
"-deskew", 1L, SimpleOperatorFlag, MagickFalse },
806 {
"+despeckle", 0L, DeprecateOptionFlag, MagickTrue },
807 {
"-despeckle", 0L, SimpleOperatorFlag, MagickFalse },
808 {
"+direction", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
809 {
"-direction", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
810 {
"+displace", 0L, NonMagickOptionFlag, MagickFalse },
811 {
"-displace", 1L, NonMagickOptionFlag, MagickFalse },
812 {
"-display", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
813 {
"+display", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
814 {
"+dispose", 0L, ImageInfoOptionFlag, MagickFalse },
815 {
"-dispose", 1L, ImageInfoOptionFlag, MagickFalse },
816 {
"+dissimilarity-threshold", 0L, NonMagickOptionFlag | ImageInfoOptionFlag, MagickFalse },
817 {
"-dissimilarity-threshold", 1L, NonMagickOptionFlag | ImageInfoOptionFlag, MagickFalse },
818 {
"+dissolve", 0L, NonMagickOptionFlag, MagickFalse },
819 {
"-dissolve", 1L, NonMagickOptionFlag, MagickFalse },
820 {
"-distort", 2L, SimpleOperatorFlag | AlwaysInterpretArgsFlag, MagickFalse },
821 {
"+distort", 2L, SimpleOperatorFlag | AlwaysInterpretArgsFlag, MagickFalse },
822 {
"+dither", 0L, ImageInfoOptionFlag | QuantizeInfoOptionFlag, MagickFalse },
823 {
"-dither", 1L, ImageInfoOptionFlag | QuantizeInfoOptionFlag, MagickFalse },
824 {
"+draw", 0L, DeprecateOptionFlag, MagickTrue },
825 {
"-draw", 1L, SimpleOperatorFlag, MagickFalse },
826 {
"+duplicate", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
827 {
"-duplicate", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
828 {
"-duration", 1L, GenesisOptionFlag, MagickFalse },
829 {
"+duration", 1L, GenesisOptionFlag, MagickFalse },
830 {
"+edge", 1L, DeprecateOptionFlag, MagickTrue },
831 {
"-edge", 1L, SimpleOperatorFlag, MagickFalse },
832 {
"+emboss", 1L, DeprecateOptionFlag, MagickTrue },
833 {
"-emboss", 1L, SimpleOperatorFlag, MagickFalse },
834 {
"+encipher", 1L, DeprecateOptionFlag, MagickTrue },
835 {
"-encipher", 1L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
836 {
"+encoding", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
837 {
"-encoding", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
838 {
"+endian", 0L, ImageInfoOptionFlag, MagickFalse },
839 {
"-endian", 1L, ImageInfoOptionFlag, MagickFalse },
840 {
"+enhance", 0L, DeprecateOptionFlag, MagickTrue },
841 {
"-enhance", 0L, SimpleOperatorFlag, MagickFalse },
842 {
"+equalize", 0L, DeprecateOptionFlag, MagickTrue },
843 {
"-equalize", 0L, SimpleOperatorFlag, MagickFalse },
844 {
"+evaluate", 2L, DeprecateOptionFlag, MagickTrue },
845 {
"-evaluate", 2L, SimpleOperatorFlag, MagickFalse },
846 {
"+evaluate-sequence", 1L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
847 {
"-evaluate-sequence", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
848 {
"-exit", 0L, SpecialOptionFlag, MagickFalse },
849 {
"+extent", 1L, DeprecateOptionFlag, MagickTrue },
850 {
"-extent", 1L, SimpleOperatorFlag, MagickFalse },
851 {
"+extract", 0L, ImageInfoOptionFlag, MagickFalse },
852 {
"-extract", 1L, ImageInfoOptionFlag, MagickFalse },
853 {
"+family", 0L, DeprecateOptionFlag, MagickTrue },
854 {
"-family", 1L, DrawInfoOptionFlag, MagickFalse },
855 {
"+features", 0L, SimpleOperatorFlag | FireOptionFlag, MagickFalse },
856 {
"-features", 1L, SimpleOperatorFlag | FireOptionFlag, MagickFalse },
857 {
"-fft", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
858 {
"+fft", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
859 {
"+fill", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
860 {
"-fill", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
861 {
"+filter", 0L, ImageInfoOptionFlag, MagickFalse },
862 {
"-filter", 1L, ImageInfoOptionFlag, MagickFalse },
863 {
"+flatten", 0L, DeprecateOptionFlag, MagickTrue },
864 {
"-flatten", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
865 {
"+flip", 0L, DeprecateOptionFlag, MagickTrue },
866 {
"-flip", 0L, SimpleOperatorFlag, MagickFalse },
867 {
"-floodfill", 2L, SimpleOperatorFlag, MagickFalse },
868 {
"+floodfill", 2L, SimpleOperatorFlag, MagickFalse },
869 {
"+flop", 0L, DeprecateOptionFlag, MagickTrue },
870 {
"-flop", 0L, SimpleOperatorFlag, MagickFalse },
871 {
"+font", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
872 {
"-font", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
873 {
"+foreground", 0L, NonMagickOptionFlag, MagickFalse },
874 {
"-foreground", 1L, NonMagickOptionFlag, MagickFalse },
875 {
"+frame", 1L, DeprecateOptionFlag, MagickTrue },
876 {
"-frame", 1L, SimpleOperatorFlag, MagickFalse },
877 {
"+function", 2L, DeprecateOptionFlag, MagickTrue },
878 {
"-function", 2L,SimpleOperatorFlag | AlwaysInterpretArgsFlag, MagickFalse },
879 {
"+fuzz", 0L, ImageInfoOptionFlag, MagickFalse },
880 {
"-fuzz", 1L, ImageInfoOptionFlag, MagickFalse },
881 {
"+fx", 1L, SimpleOperatorFlag | FireOptionFlag | NeverInterpretArgsFlag, MagickFalse },
882 {
"-fx", 1L, ListOperatorFlag | FireOptionFlag | NeverInterpretArgsFlag, MagickFalse },
883 {
"-gamma", 1L, SimpleOperatorFlag, MagickFalse },
884 {
"+gamma", 1L, SimpleOperatorFlag, MagickFalse },
885 {
"+gaussian", 1L, DeprecateOptionFlag, MagickTrue },
886 {
"-gaussian", 1L, ReplacedOptionFlag | SimpleOperatorFlag, MagickTrue },
887 {
"+gaussian-blur", 1L, DeprecateOptionFlag, MagickTrue },
888 {
"-gaussian-blur", 1L, SimpleOperatorFlag, MagickFalse },
889 {
"+geometry", 0L, SimpleOperatorFlag, MagickFalse },
890 {
"-geometry", 1L, SimpleOperatorFlag, MagickFalse },
891 {
"+gravity", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
892 {
"-gravity", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
893 {
"+grayscale", 1L, SimpleOperatorFlag, MagickTrue },
894 {
"-grayscale", 1L, SimpleOperatorFlag, MagickFalse },
895 {
"+green-primary", 0L, ImageInfoOptionFlag, MagickFalse },
896 {
"-green-primary", 1L, ImageInfoOptionFlag, MagickFalse },
897 {
"+hald-clut", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
898 {
"-hald-clut", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
899 {
"+highlight-color", 0L, ImageInfoOptionFlag, MagickFalse },
900 {
"-highlight-color", 1L, ImageInfoOptionFlag, MagickFalse },
901 {
"+hough-lines", 1L, DeprecateOptionFlag, MagickTrue },
902 {
"-hough-lines", 1L, SimpleOperatorFlag, MagickTrue },
903 {
"+iconGeometry", 0L, NonMagickOptionFlag, MagickFalse },
904 {
"-iconGeometry", 1L, NonMagickOptionFlag, MagickFalse },
905 {
"-iconic", 0L, NonMagickOptionFlag, MagickFalse },
906 {
"+iconic", 0L, NonMagickOptionFlag, MagickFalse },
907 {
"+identify", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
908 {
"-identify", 0L, SimpleOperatorFlag | FireOptionFlag, MagickFalse },
909 {
"-ift", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
910 {
"+ift", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
911 {
"-immutable", 0L, NonMagickOptionFlag, MagickFalse },
912 {
"+immutable", 0L, NonMagickOptionFlag, MagickFalse },
913 {
"+implode", 0L, DeprecateOptionFlag, MagickTrue },
914 {
"-implode", 1L, SimpleOperatorFlag, MagickFalse },
915 {
"+insert", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
916 {
"-insert", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
917 {
"+illuminant", 1L, ImageInfoOptionFlag, MagickFalse },
918 {
"-illuminant", 1L, ImageInfoOptionFlag, MagickFalse },
919 {
"+integral", 0L, SimpleOperatorFlag, MagickFalse },
920 {
"-integral", 0L, SimpleOperatorFlag, MagickFalse },
921 {
"+intensity", 0L, ImageInfoOptionFlag, MagickFalse },
922 {
"-intensity", 1L, ImageInfoOptionFlag, MagickFalse },
923 {
"+intent", 0L, ImageInfoOptionFlag, MagickFalse },
924 {
"-intent", 1L, ImageInfoOptionFlag, MagickFalse },
925 {
"+interlace", 0L, ImageInfoOptionFlag, MagickFalse },
926 {
"-interlace", 1L, ImageInfoOptionFlag, MagickFalse },
927 {
"+interline-spacing", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
928 {
"-interline-spacing", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
929 {
"+interpolate", 0L, ImageInfoOptionFlag, MagickFalse },
930 {
"-interpolate", 1L, ImageInfoOptionFlag, MagickFalse },
931 {
"+interpolative-resize", 1L, DeprecateOptionFlag, MagickTrue },
932 {
"-interpolative-resize", 1L, SimpleOperatorFlag, MagickFalse },
933 {
"+interword-spacing", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
934 {
"-interword-spacing", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
935 {
"+kerning", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
936 {
"-kerning", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
937 {
"-kmeans", 1L, SimpleOperatorFlag, MagickFalse },
938 {
"+kuwahara", 0L, DeprecateOptionFlag, MagickTrue },
939 {
"-kuwahara", 1L, SimpleOperatorFlag, MagickFalse },
940 {
"+label", 0L, ImageInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
941 {
"-label", 1L, ImageInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
942 {
"+lat", 1L, DeprecateOptionFlag, MagickTrue },
943 {
"-lat", 1L, SimpleOperatorFlag, MagickFalse },
944 {
"+layers", 1L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
945 {
"-layers", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
946 {
"-level", 1L, SimpleOperatorFlag, MagickFalse },
947 {
"+level", 1L, SimpleOperatorFlag, MagickFalse },
948 {
"-level-colors", 1L, SimpleOperatorFlag, MagickFalse },
949 {
"+level-colors", 1L, SimpleOperatorFlag, MagickFalse },
950 {
"+limit", 0L, DeprecateOptionFlag, MagickTrue },
951 {
"-limit", 2L, GlobalOptionFlag | FireOptionFlag, MagickFalse },
952 {
"+linear-stretch", 1L, DeprecateOptionFlag, MagickTrue },
953 {
"-linear-stretch", 1L, SimpleOperatorFlag, MagickFalse },
954 {
"+liquid-rescale", 1L, DeprecateOptionFlag, MagickTrue },
955 {
"-liquid-rescale", 1L, SimpleOperatorFlag, MagickFalse },
956 {
"+list", 0L, DeprecateOptionFlag, MagickTrue },
957 {
"-list", 1L, NoImageOperatorFlag, MagickFalse },
958 {
"+local-contrast", 0L, DeprecateOptionFlag, MagickTrue },
959 {
"-local-contrast", 1L, SimpleOperatorFlag, MagickFalse },
960 {
"+log", 0L, DeprecateOptionFlag, MagickFalse },
961 {
"-log", 1L, GlobalOptionFlag, MagickFalse },
962 {
"+loop", 0L, ImageInfoOptionFlag, MagickFalse },
963 {
"-loop", 1L, ImageInfoOptionFlag, MagickFalse },
964 {
"+lowlight-color", 0L, ImageInfoOptionFlag, MagickFalse },
965 {
"-lowlight-color", 1L, ImageInfoOptionFlag, MagickFalse },
966 {
"+magnify", 0L, DeprecateOptionFlag, MagickTrue },
967 {
"-magnify", 0L, SimpleOperatorFlag, MagickFalse },
968 {
"+map", 0L, ReplacedOptionFlag | ListOperatorFlag | FireOptionFlag, MagickTrue },
969 {
"-map", 1L, ReplacedOptionFlag | SimpleOperatorFlag, MagickTrue },
970 {
"+mask", 0L, DeprecateOptionFlag | NeverInterpretArgsFlag, MagickFalse },
971 {
"-mask", 1L, DeprecateOptionFlag | NeverInterpretArgsFlag, MagickFalse },
972 {
"-matte", 0L, ReplacedOptionFlag | SimpleOperatorFlag, MagickTrue },
973 {
"+matte", 0L, ReplacedOptionFlag | SimpleOperatorFlag, MagickTrue },
974 {
"-maximum", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
975 {
"+maximum", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
976 {
"+mean-shift", 1L, DeprecateOptionFlag, MagickTrue },
977 {
"-mean-shift", 1L, SimpleOperatorFlag, MagickTrue },
978 {
"+median", 1L, DeprecateOptionFlag, MagickTrue },
979 {
"-median", 1L, ReplacedOptionFlag | SimpleOperatorFlag | FireOptionFlag, MagickTrue },
980 {
"+metric", 0L, DeprecateOptionFlag | FireOptionFlag, MagickFalse },
981 {
"-metric", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
982 {
"-minimum", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
983 {
"+minimum", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
984 {
"+mode", 1L, NonMagickOptionFlag, MagickFalse },
985 {
"-mode", 1L, ReplacedOptionFlag | SimpleOperatorFlag, MagickTrue },
986 {
"+modulate", 1L, DeprecateOptionFlag, MagickTrue },
987 {
"-modulate", 1L, SimpleOperatorFlag, MagickFalse },
988 {
"-moments", 0L, SimpleOperatorFlag | FireOptionFlag, MagickFalse },
989 {
"+moments", 0L, SimpleOperatorFlag | FireOptionFlag, MagickFalse },
990 {
"-monitor", 0L, ImageInfoOptionFlag | SimpleOperatorFlag, MagickFalse },
991 {
"+monitor", 0L, ImageInfoOptionFlag | SimpleOperatorFlag, MagickFalse },
992 {
"+monochrome", 0L, ImageInfoOptionFlag, MagickFalse },
993 {
"-monochrome", 0L, ImageInfoOptionFlag | SimpleOperatorFlag, MagickFalse },
994 {
"+morph", 1L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
995 {
"-morph", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
996 {
"+morphology", 2L, DeprecateOptionFlag, MagickTrue },
997 {
"-morphology", 2L, SimpleOperatorFlag, MagickFalse },
998 {
"+mosaic", 0L, DeprecateOptionFlag, MagickTrue },
999 {
"-mosaic", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
1000 {
"+motion-blur", 1L, DeprecateOptionFlag, MagickTrue },
1001 {
"-motion-blur", 1L, SimpleOperatorFlag, MagickFalse },
1002 {
"+name", 0L, NonMagickOptionFlag, MagickFalse },
1003 {
"-name", 1L, NonMagickOptionFlag, MagickFalse },
1004 {
"+negate", 0L, SimpleOperatorFlag, MagickFalse },
1005 {
"-negate", 0L, SimpleOperatorFlag, MagickFalse },
1006 {
"-noise", 1L, ReplacedOptionFlag | SimpleOperatorFlag, MagickFalse },
1007 {
"+noise", 1L, SimpleOperatorFlag, MagickFalse },
1008 {
"-noop", 0L, NoImageOperatorFlag, MagickFalse },
1009 {
"+normalize", 0L, DeprecateOptionFlag, MagickTrue },
1010 {
"-normalize", 0L, SimpleOperatorFlag, MagickFalse },
1011 {
"-opaque", 1L, SimpleOperatorFlag, MagickFalse },
1012 {
"+opaque", 1L, SimpleOperatorFlag, MagickFalse },
1013 {
"+ordered-dither", 0L, DeprecateOptionFlag, MagickTrue },
1014 {
"-ordered-dither", 1L, SimpleOperatorFlag, MagickFalse },
1015 {
"+orient", 0L, ImageInfoOptionFlag, MagickFalse },
1016 {
"-orient", 1L, ImageInfoOptionFlag, MagickFalse },
1017 {
"+page", 0L, ImageInfoOptionFlag, MagickFalse },
1018 {
"-page", 1L, ImageInfoOptionFlag, MagickFalse },
1019 {
"+paint", 0L, DeprecateOptionFlag, MagickTrue },
1020 {
"-paint", 1L, SimpleOperatorFlag, MagickFalse },
1021 {
"+path", 0L, NonMagickOptionFlag, MagickFalse },
1022 {
"-path", 1L, NonMagickOptionFlag, MagickFalse },
1023 {
"+pause", 0L, NonMagickOptionFlag, MagickFalse },
1024 {
"-pause", 1L, NonMagickOptionFlag, MagickFalse },
1025 {
"-ping", 0L, ImageInfoOptionFlag, MagickFalse },
1026 {
"+ping", 0L, ImageInfoOptionFlag, MagickFalse },
1027 {
"+pointsize", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
1028 {
"-pointsize", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
1029 {
"+polaroid", 0L, SimpleOperatorFlag, MagickFalse },
1030 {
"-polaroid", 1L, SimpleOperatorFlag, MagickFalse },
1031 {
"+poly", 1L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
1032 {
"-poly", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
1033 {
"+posterize", 1L, DeprecateOptionFlag, MagickTrue },
1034 {
"-posterize", 1L, SimpleOperatorFlag, MagickFalse },
1035 {
"+precision", 0L, ImageInfoOptionFlag, MagickFalse },
1036 {
"-precision", 1L, ImageInfoOptionFlag, MagickFalse },
1037 {
"+preview", 0L, DeprecateOptionFlag, MagickTrue },
1038 {
"-preview", 1L, SimpleOperatorFlag, MagickFalse },
1039 {
"+print", 1L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
1040 {
"-print", 1L, NoImageOperatorFlag | AlwaysInterpretArgsFlag | FireOptionFlag, MagickFalse },
1041 {
"+process", 1L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
1042 {
"-process", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
1043 {
"+profile", 1L, SimpleOperatorFlag, MagickFalse },
1044 {
"-profile", 1L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
1045 {
"+quality", 0L, ImageInfoOptionFlag, MagickFalse },
1046 {
"-quality", 1L, ImageInfoOptionFlag, MagickFalse },
1047 {
"+quantize", 0L, QuantizeInfoOptionFlag, MagickFalse },
1048 {
"-quantize", 1L, QuantizeInfoOptionFlag, MagickFalse },
1049 {
"-raise", 1L, SimpleOperatorFlag, MagickFalse },
1050 {
"+raise", 1L, SimpleOperatorFlag, MagickFalse },
1051 {
"+random-threshold", 1L, DeprecateOptionFlag, MagickTrue },
1052 {
"-random-threshold", 1L, SimpleOperatorFlag, MagickFalse },
1053 {
"+range-threshold", 1L, DeprecateOptionFlag, MagickTrue },
1054 {
"-range-threshold", 1L, SimpleOperatorFlag, MagickFalse },
1055 {
"-read", 1L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
1056 {
"+read-mask", 0L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
1057 {
"-read-mask", 1L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
1058 {
"+recolor", 1L, DeprecateOptionFlag, MagickTrue },
1059 {
"-recolor", 1L, ReplacedOptionFlag | SimpleOperatorFlag, MagickTrue },
1060 {
"+red-primary", 0L, ImageInfoOptionFlag, MagickFalse },
1061 {
"-red-primary", 1L, ImageInfoOptionFlag, MagickFalse },
1062 {
"+region", 0L, SimpleOperatorFlag, MagickFalse },
1063 {
"-region", 1L, SimpleOperatorFlag, MagickFalse },
1064 {
"+remap", 0L, ListOperatorFlag | NeverInterpretArgsFlag | FireOptionFlag, MagickFalse },
1065 {
"-remap", 1L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
1066 {
"+remote", 0L, NonMagickOptionFlag, MagickFalse },
1067 {
"-remote", 1L, NonMagickOptionFlag, MagickFalse },
1068 {
"-render", 0L, DrawInfoOptionFlag, MagickFalse },
1069 {
"+render", 0L, DrawInfoOptionFlag, MagickFalse },
1070 {
"+resample", 1L, DeprecateOptionFlag, MagickTrue },
1071 {
"-resample", 1L, SimpleOperatorFlag, MagickFalse },
1072 {
"-respect-parenthesis", 0L, ImageInfoOptionFlag, MagickFalse },
1073 {
"+respect-parenthesis", 0L, ImageInfoOptionFlag, MagickFalse },
1074 {
"-respect-parentheses", 0L, ImageInfoOptionFlag, MagickFalse },
1075 {
"+respect-parentheses", 0L, ImageInfoOptionFlag, MagickFalse },
1076 {
"+reverse", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
1077 {
"-reverse", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
1078 {
"+roll", 1L, DeprecateOptionFlag, MagickTrue },
1079 {
"-roll", 1L, SimpleOperatorFlag, MagickFalse },
1080 {
"+rotate", 1L, DeprecateOptionFlag, MagickTrue },
1081 {
"-rotate", 1L, SimpleOperatorFlag, MagickFalse },
1082 {
"-rotational-blur", 1L, SimpleOperatorFlag, MagickFalse },
1083 {
"+sample", 1L, DeprecateOptionFlag, MagickTrue },
1084 {
"-sample", 1L, SimpleOperatorFlag, MagickFalse },
1085 {
"+sampling-factor", 0L, ImageInfoOptionFlag, MagickFalse },
1086 {
"-sampling-factor", 1L, ImageInfoOptionFlag, MagickFalse },
1087 {
"-sans0", 0L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickTrue },
1088 {
"+sans0", 0L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickTrue },
1089 {
"+sans1", 1L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickTrue },
1090 {
"-sans1", 1L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickTrue },
1091 {
"-sans", 1L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickTrue },
1092 {
"+sans", 1L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickTrue },
1093 {
"-sans2", 2L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickTrue },
1094 {
"+sans2", 2L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickTrue },
1095 {
"+scale", 1L, DeprecateOptionFlag, MagickTrue },
1096 {
"-scale", 1L, SimpleOperatorFlag, MagickFalse },
1097 {
"+scene", 0L, ImageInfoOptionFlag, MagickFalse },
1098 {
"-scene", 1L, ImageInfoOptionFlag, MagickFalse },
1099 {
"+scenes", 0L, NonMagickOptionFlag, MagickFalse },
1100 {
"-scenes", 1L, NonMagickOptionFlag, MagickFalse },
1101 {
"+screen", 0L, NonMagickOptionFlag, MagickFalse },
1102 {
"-screen", 1L, NonMagickOptionFlag, MagickFalse },
1103 {
"-script", 1L, SpecialOptionFlag | NeverInterpretArgsFlag, MagickFalse },
1104 {
"+seed", 0L, GlobalOptionFlag, MagickFalse },
1105 {
"-seed", 1L, GlobalOptionFlag, MagickFalse },
1106 {
"+segment", 1L, DeprecateOptionFlag, MagickTrue },
1107 {
"-segment", 1L, SimpleOperatorFlag, MagickFalse },
1108 {
"+selective-blur", 1L, DeprecateOptionFlag, MagickTrue },
1109 {
"-selective-blur", 1L, SimpleOperatorFlag, MagickFalse },
1110 {
"+separate", 0L, DeprecateOptionFlag | FireOptionFlag, MagickTrue },
1111 {
"-separate", 0L, SimpleOperatorFlag | FireOptionFlag, MagickFalse },
1112 {
"+sepia-tone", 1L, DeprecateOptionFlag, MagickTrue },
1113 {
"-sepia-tone", 1L, SimpleOperatorFlag, MagickFalse },
1114 {
"+set", 1L, NoImageOperatorFlag, MagickFalse },
1115 {
"-set", 2L, NoImageOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
1116 {
"+shade", 0L, DeprecateOptionFlag, MagickTrue },
1117 {
"-shade", 1L, SimpleOperatorFlag, MagickFalse },
1118 {
"+shadow", 1L, DeprecateOptionFlag, MagickTrue },
1119 {
"-shadow", 1L, SimpleOperatorFlag, MagickFalse },
1120 {
"+shared-memory", 0L, NonMagickOptionFlag, MagickFalse },
1121 {
"-shared-memory", 1L, NonMagickOptionFlag, MagickFalse },
1122 {
"+sharpen", 1L, DeprecateOptionFlag, MagickTrue },
1123 {
"-sharpen", 1L, SimpleOperatorFlag, MagickFalse },
1124 {
"+shave", 1L, DeprecateOptionFlag, MagickTrue },
1125 {
"-shave", 1L, SimpleOperatorFlag, MagickFalse },
1126 {
"+shear", 1L, DeprecateOptionFlag, MagickTrue },
1127 {
"-shear", 1L, SimpleOperatorFlag, MagickFalse },
1128 {
"-sigmoidal-contrast", 1L, SimpleOperatorFlag, MagickFalse },
1129 {
"+sigmoidal-contrast", 1L, SimpleOperatorFlag, MagickFalse },
1130 {
"+silent", 0L, NonMagickOptionFlag, MagickFalse },
1131 {
"-silent", 1L, NonMagickOptionFlag, MagickFalse },
1132 {
"+similarity-threshold", 0L, NonMagickOptionFlag | ImageInfoOptionFlag, MagickFalse },
1133 {
"-similarity-threshold", 1L, NonMagickOptionFlag | ImageInfoOptionFlag, MagickFalse },
1134 {
"+sketch", 1L, DeprecateOptionFlag, MagickTrue },
1135 {
"-sketch", 1L, SimpleOperatorFlag, MagickFalse },
1136 {
"-smush", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
1137 {
"+smush", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
1138 {
"+snaps", 0L, NonMagickOptionFlag, MagickFalse },
1139 {
"-snaps", 1L, NonMagickOptionFlag, MagickFalse },
1140 {
"+solarize", 1L, DeprecateOptionFlag, MagickTrue },
1141 {
"-solarize", 1L, SimpleOperatorFlag, MagickFalse },
1142 {
"+sort-pixels", 0L, DeprecateOptionFlag, MagickTrue },
1143 {
"-sort-pixels", 0L, SimpleOperatorFlag, MagickFalse },
1144 {
"+sparse-color", 1L, DeprecateOptionFlag, MagickTrue },
1145 {
"-sparse-color", 2L, SimpleOperatorFlag | AlwaysInterpretArgsFlag, MagickFalse },
1146 {
"+splice", 1L, DeprecateOptionFlag, MagickTrue },
1147 {
"-splice", 1L, SimpleOperatorFlag, MagickFalse },
1148 {
"+spread", 1L, DeprecateOptionFlag, MagickTrue },
1149 {
"-spread", 1L, SimpleOperatorFlag, MagickFalse },
1150 {
"+statistic", 2L, DeprecateOptionFlag, MagickTrue },
1151 {
"-statistic", 2L, SimpleOperatorFlag, MagickFalse },
1152 {
"+stegano", 0L, NonMagickOptionFlag, MagickFalse },
1153 {
"-stegano", 1L, NonMagickOptionFlag, MagickFalse },
1154 {
"+stereo", 0L, DeprecateOptionFlag, MagickTrue },
1155 {
"-stereo", 1L, NonMagickOptionFlag, MagickFalse },
1156 {
"+stretch", 1L, DeprecateOptionFlag, MagickTrue },
1157 {
"-stretch", 1L, SimpleOperatorFlag, MagickFalse },
1158 {
"+strip", 0L, DeprecateOptionFlag, MagickTrue },
1159 {
"-strip", 0L, SimpleOperatorFlag, MagickFalse },
1160 {
"+stroke", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
1161 {
"-stroke", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
1162 {
"-strokewidth", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
1163 {
"+strokewidth", 1L, ImageInfoOptionFlag, MagickFalse },
1164 {
"+style", 0L, DrawInfoOptionFlag, MagickFalse },
1165 {
"-style", 1L, DrawInfoOptionFlag, MagickFalse },
1166 {
"-subimage", 0L, ListOperatorFlag, MagickFalse },
1167 {
"-subimage-search", 0L, NonMagickOptionFlag | ImageInfoOptionFlag, MagickFalse },
1168 {
"+subimage-search", 0L, NonMagickOptionFlag | ImageInfoOptionFlag, MagickFalse },
1169 {
"+swap", 0L, ListOperatorFlag | FireOptionFlag, MagickFalse },
1170 {
"-swap", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
1171 {
"+swirl", 1L, DeprecateOptionFlag, MagickTrue },
1172 {
"-swirl", 1L, SimpleOperatorFlag, MagickFalse },
1173 {
"-synchronize", 0L, ImageInfoOptionFlag, MagickFalse },
1174 {
"+synchronize", 0L, ImageInfoOptionFlag, MagickFalse },
1175 {
"-taint", 0L, ImageInfoOptionFlag, MagickFalse },
1176 {
"+taint", 0L, ImageInfoOptionFlag, MagickFalse },
1177 {
"+text-font", 0L, NonMagickOptionFlag, MagickFalse },
1178 {
"-text-font", 1L, NonMagickOptionFlag, MagickFalse },
1179 {
"+texture", 0L, ImageInfoOptionFlag, MagickFalse },
1180 {
"-texture", 1L, ImageInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
1181 {
"+threshold", 0L, SimpleOperatorFlag, MagickFalse },
1182 {
"-threshold", 1L, SimpleOperatorFlag, MagickFalse },
1183 {
"+thumbnail", 1L, DeprecateOptionFlag, MagickTrue },
1184 {
"-thumbnail", 1L, SimpleOperatorFlag, MagickFalse },
1185 {
"+tile", 0L, DrawInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
1186 {
"-tile", 1L, DrawInfoOptionFlag | NeverInterpretArgsFlag, MagickFalse },
1187 {
"+tile-offset", 0L, ImageInfoOptionFlag, MagickFalse },
1188 {
"-tile-offset", 1L, ImageInfoOptionFlag, MagickFalse },
1189 {
"-tint", 1L, SimpleOperatorFlag, MagickFalse },
1190 {
"+tint", 1L, SimpleOperatorFlag, MagickFalse },
1191 {
"+title", 0L, NonMagickOptionFlag, MagickFalse },
1192 {
"-title", 1L, NonMagickOptionFlag, MagickFalse },
1193 {
"+transform", 0L, DeprecateOptionFlag, MagickTrue },
1194 {
"-transform", 0L, ReplacedOptionFlag | SimpleOperatorFlag, MagickTrue },
1195 {
"-transparent", 1L, SimpleOperatorFlag, MagickFalse },
1196 {
"+transparent", 1L, SimpleOperatorFlag, MagickFalse },
1197 {
"+transparent-color", 0L, ImageInfoOptionFlag, MagickFalse },
1198 {
"-transparent-color", 1L, ImageInfoOptionFlag, MagickFalse },
1199 {
"+transpose", 0L, DeprecateOptionFlag, MagickTrue },
1200 {
"-transpose", 0L, SimpleOperatorFlag, MagickFalse },
1201 {
"+transverse", 0L, DeprecateOptionFlag, MagickTrue },
1202 {
"-transverse", 0L, SimpleOperatorFlag, MagickFalse },
1203 {
"+treedepth", 1L, DeprecateOptionFlag, MagickTrue },
1204 {
"-treedepth", 1L, QuantizeInfoOptionFlag, MagickFalse },
1205 {
"+trim", 0L, DeprecateOptionFlag, MagickTrue },
1206 {
"-trim", 0L, SimpleOperatorFlag, MagickFalse },
1207 {
"+type", 0L, ImageInfoOptionFlag | SimpleOperatorFlag, MagickFalse },
1208 {
"-type", 1L, ImageInfoOptionFlag | SimpleOperatorFlag, MagickFalse },
1209 {
"+undercolor", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
1210 {
"-undercolor", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
1211 {
"-unique", 0L, SimpleOperatorFlag, MagickFalse },
1212 {
"+unique", 0L, SimpleOperatorFlag, MagickFalse },
1213 {
"+unique-colors", 0L, DeprecateOptionFlag, MagickTrue },
1214 {
"-unique-colors", 0L, SimpleOperatorFlag, MagickFalse },
1215 {
"+units", 0L, ImageInfoOptionFlag, MagickFalse },
1216 {
"-units", 1L, ImageInfoOptionFlag, MagickFalse },
1217 {
"+unsharp", 1L, DeprecateOptionFlag, MagickTrue },
1218 {
"-unsharp", 1L, SimpleOperatorFlag, MagickFalse },
1219 {
"+update", 0L, NonMagickOptionFlag, MagickFalse },
1220 {
"-update", 1L, NonMagickOptionFlag, MagickFalse },
1221 {
"+use-pixmap", 0L, NonMagickOptionFlag, MagickFalse },
1222 {
"-use-pixmap", 1L, NonMagickOptionFlag, MagickFalse },
1223 {
"-verbose", 0L, ImageInfoOptionFlag, MagickFalse },
1224 {
"+verbose", 0L, ImageInfoOptionFlag, MagickFalse },
1225 {
"+version", 0L, DeprecateOptionFlag, MagickTrue },
1226 {
"-version", 0L, NoImageOperatorFlag, MagickFalse },
1227 {
"+view", 0L, ImageInfoOptionFlag, MagickFalse },
1228 {
"-view", 1L, ImageInfoOptionFlag, MagickFalse },
1229 {
"+vignette", 1L, DeprecateOptionFlag, MagickTrue },
1230 {
"-vignette", 1L, SimpleOperatorFlag, MagickFalse },
1231 {
"+visual", 0L, NonMagickOptionFlag, MagickFalse },
1232 {
"-visual", 1L, NonMagickOptionFlag, MagickFalse },
1233 {
"+watermark", 0L, NonMagickOptionFlag, MagickFalse },
1234 {
"-watermark", 1L, NonMagickOptionFlag, MagickFalse },
1235 {
"+wave", 1L, DeprecateOptionFlag, MagickTrue },
1236 {
"-wave", 1L, SimpleOperatorFlag, MagickFalse },
1237 {
"+wavelet-denoise", 0L, DeprecateOptionFlag, MagickTrue },
1238 {
"-wavelet-denoise", 1L, SimpleOperatorFlag, MagickFalse },
1239 {
"+weight", 1L, DeprecateOptionFlag, MagickTrue },
1240 {
"-weight", 1L, DrawInfoOptionFlag, MagickFalse },
1241 {
"+white-balance", 0L, DeprecateOptionFlag, MagickTrue },
1242 {
"-white-balance", 0L, SimpleOperatorFlag, MagickFalse },
1243 {
"+white-point", 0L, ImageInfoOptionFlag, MagickFalse },
1244 {
"-white-point", 1L, ImageInfoOptionFlag, MagickFalse },
1245 {
"+white-threshold", 1L, DeprecateOptionFlag, MagickTrue },
1246 {
"-white-threshold", 1L, SimpleOperatorFlag, MagickFalse },
1247 {
"+window", 0L, NonMagickOptionFlag, MagickFalse },
1248 {
"-window", 1L, NonMagickOptionFlag, MagickFalse },
1249 {
"+window-group", 0L, NonMagickOptionFlag, MagickFalse },
1250 {
"-window-group", 1L, NonMagickOptionFlag, MagickFalse },
1251 {
"+word-break", 0L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
1252 {
"-word-break", 1L, ImageInfoOptionFlag | DrawInfoOptionFlag, MagickFalse },
1253 {
"-write", 1L, NoImageOperatorFlag | NeverInterpretArgsFlag | FireOptionFlag, MagickFalse },
1254 {
"+write", 1L, NoImageOperatorFlag | NeverInterpretArgsFlag | FireOptionFlag, MagickFalse },
1255 {
"+write-mask", 0L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
1256 {
"-write-mask", 1L, SimpleOperatorFlag | NeverInterpretArgsFlag, MagickFalse },
1257 { (
char *) NULL, 0L, UndefinedOptionFlag, MagickFalse }
1259 ComplianceOptions[] =
1261 {
"Undefined", UndefinedCompliance, UndefinedOptionFlag, MagickTrue },
1262 {
"CSS", CSSCompliance, UndefinedOptionFlag, MagickFalse },
1263 {
"MVG", MVGCompliance, UndefinedOptionFlag, MagickFalse },
1264 {
"No", NoCompliance, UndefinedOptionFlag, MagickFalse },
1265 {
"SVG", SVGCompliance, UndefinedOptionFlag, MagickFalse },
1266 {
"X11", X11Compliance, UndefinedOptionFlag, MagickFalse },
1267 {
"XPM", XPMCompliance, UndefinedOptionFlag, MagickFalse },
1268 { (
char *) NULL, UndefinedClass, UndefinedOptionFlag, MagickFalse }
1272 {
"Undefined", UndefinedCompositeOp, UndefinedOptionFlag, MagickTrue },
1273 {
"Add", ModulusAddCompositeOp, DeprecateOptionFlag, MagickTrue },
1274 {
"Atop", AtopCompositeOp, UndefinedOptionFlag, MagickFalse },
1275 {
"Blend", BlendCompositeOp, UndefinedOptionFlag, MagickFalse },
1276 {
"Blur", BlurCompositeOp, UndefinedOptionFlag, MagickFalse },
1277 {
"Bumpmap", BumpmapCompositeOp, UndefinedOptionFlag, MagickFalse },
1278 {
"ChangeMask", ChangeMaskCompositeOp, UndefinedOptionFlag, MagickFalse },
1279 {
"Clear", ClearCompositeOp, UndefinedOptionFlag, MagickFalse },
1280 {
"ColorBurn", ColorBurnCompositeOp, UndefinedOptionFlag, MagickFalse },
1281 {
"ColorDodge", ColorDodgeCompositeOp, UndefinedOptionFlag, MagickFalse },
1282 {
"Colorize", ColorizeCompositeOp, UndefinedOptionFlag, MagickFalse },
1283 {
"CopyAlpha", CopyAlphaCompositeOp, UndefinedOptionFlag, MagickFalse },
1284 {
"CopyBlack", CopyBlackCompositeOp, UndefinedOptionFlag, MagickFalse },
1285 {
"CopyBlue", CopyBlueCompositeOp, UndefinedOptionFlag, MagickFalse },
1286 {
"Copy", CopyCompositeOp, UndefinedOptionFlag, MagickFalse },
1287 {
"CopyCyan", CopyCyanCompositeOp, UndefinedOptionFlag, MagickFalse },
1288 {
"CopyGreen", CopyGreenCompositeOp, UndefinedOptionFlag, MagickFalse },
1289 {
"CopyMagenta", CopyMagentaCompositeOp, UndefinedOptionFlag, MagickFalse },
1290 {
"CopyOpacity", CopyAlphaCompositeOp, UndefinedOptionFlag, MagickTrue },
1291 {
"CopyRed", CopyRedCompositeOp, UndefinedOptionFlag, MagickFalse },
1292 {
"CopyYellow", CopyYellowCompositeOp, UndefinedOptionFlag, MagickFalse },
1293 {
"Darken", DarkenCompositeOp, UndefinedOptionFlag, MagickFalse },
1294 {
"DarkenIntensity", DarkenIntensityCompositeOp, UndefinedOptionFlag, MagickFalse },
1295 {
"Difference", DifferenceCompositeOp, UndefinedOptionFlag, MagickFalse },
1296 {
"Displace", DisplaceCompositeOp, UndefinedOptionFlag, MagickFalse },
1297 {
"Dissolve", DissolveCompositeOp, UndefinedOptionFlag, MagickFalse },
1298 {
"Distort", DistortCompositeOp, UndefinedOptionFlag, MagickFalse },
1299 {
"Divide", DivideDstCompositeOp, DeprecateOptionFlag, MagickTrue },
1300 {
"DivideDst", DivideDstCompositeOp, UndefinedOptionFlag, MagickFalse },
1301 {
"DivideSrc", DivideSrcCompositeOp, UndefinedOptionFlag, MagickFalse },
1302 {
"DstAtop", DstAtopCompositeOp, UndefinedOptionFlag, MagickFalse },
1303 {
"Dst", DstCompositeOp, UndefinedOptionFlag, MagickFalse },
1304 {
"DstIn", DstInCompositeOp, UndefinedOptionFlag, MagickFalse },
1305 {
"DstOut", DstOutCompositeOp, UndefinedOptionFlag, MagickFalse },
1306 {
"DstOver", DstOverCompositeOp, UndefinedOptionFlag, MagickFalse },
1307 {
"Exclusion", ExclusionCompositeOp, UndefinedOptionFlag, MagickFalse },
1308 {
"Freeze", FreezeCompositeOp, UndefinedOptionFlag, MagickFalse },
1309 {
"HardLight", HardLightCompositeOp, UndefinedOptionFlag, MagickFalse },
1310 {
"HardMix", HardMixCompositeOp, UndefinedOptionFlag, MagickFalse },
1311 {
"Hue", HueCompositeOp, UndefinedOptionFlag, MagickFalse },
1312 {
"In", InCompositeOp, UndefinedOptionFlag, MagickFalse },
1313 {
"Intensity", IntensityCompositeOp, UndefinedOptionFlag, MagickFalse },
1314 {
"Interpolate", InterpolateCompositeOp, UndefinedOptionFlag, MagickFalse },
1315 {
"LightenIntensity", LightenIntensityCompositeOp, UndefinedOptionFlag, MagickFalse },
1316 {
"Lighten", LightenCompositeOp, UndefinedOptionFlag, MagickFalse },
1317 {
"LinearBurn", LinearBurnCompositeOp, UndefinedOptionFlag, MagickFalse },
1318 {
"LinearDodge", LinearDodgeCompositeOp, UndefinedOptionFlag, MagickFalse },
1319 {
"LinearLight", LinearLightCompositeOp, UndefinedOptionFlag, MagickFalse },
1320 {
"Luminize", LuminizeCompositeOp, UndefinedOptionFlag, MagickFalse },
1321 {
"Mathematics", MathematicsCompositeOp, UndefinedOptionFlag, MagickFalse },
1322 {
"MinusDst", MinusDstCompositeOp, UndefinedOptionFlag, MagickFalse },
1323 {
"Minus", MinusDstCompositeOp, DeprecateOptionFlag, MagickTrue },
1324 {
"MinusSrc", MinusSrcCompositeOp, UndefinedOptionFlag, MagickFalse },
1325 {
"Modulate", ModulateCompositeOp, UndefinedOptionFlag, MagickFalse },
1326 {
"ModulusAdd", ModulusAddCompositeOp, UndefinedOptionFlag, MagickFalse },
1327 {
"ModulusSubtract", ModulusSubtractCompositeOp, UndefinedOptionFlag, MagickFalse },
1328 {
"Multiply", MultiplyCompositeOp, UndefinedOptionFlag, MagickFalse },
1329 {
"Negate", NegateCompositeOp, UndefinedOptionFlag, MagickFalse },
1330 {
"None", NoCompositeOp, UndefinedOptionFlag, MagickFalse },
1331 {
"Out", OutCompositeOp, UndefinedOptionFlag, MagickFalse },
1332 {
"Overlay", OverlayCompositeOp, UndefinedOptionFlag, MagickFalse },
1333 {
"Over", OverCompositeOp, UndefinedOptionFlag, MagickFalse },
1334 {
"PegtopLight", PegtopLightCompositeOp, UndefinedOptionFlag, MagickFalse },
1335 {
"PinLight", PinLightCompositeOp, UndefinedOptionFlag, MagickFalse },
1336 {
"Plus", PlusCompositeOp, UndefinedOptionFlag, MagickFalse },
1337 {
"Reflect", ReflectCompositeOp, UndefinedOptionFlag, MagickFalse },
1338 {
"Replace", ReplaceCompositeOp, UndefinedOptionFlag, MagickFalse },
1339 {
"RMSE", RMSECompositeOp, UndefinedOptionFlag, MagickFalse },
1340 {
"Saturate", SaturateCompositeOp, UndefinedOptionFlag, MagickFalse },
1341 {
"Screen", ScreenCompositeOp, UndefinedOptionFlag, MagickFalse },
1342 {
"SaliencyBlend", SaliencyBlendCompositeOp, UndefinedOptionFlag, MagickFalse },
1343 {
"SeamlessBlend", SeamlessBlendCompositeOp, UndefinedOptionFlag, MagickFalse },
1344 {
"SoftBurn", SoftBurnCompositeOp, UndefinedOptionFlag, MagickFalse },
1345 {
"SoftDodge", SoftDodgeCompositeOp, UndefinedOptionFlag, MagickFalse },
1346 {
"SoftLight", SoftLightCompositeOp, UndefinedOptionFlag, MagickFalse },
1347 {
"SrcAtop", SrcAtopCompositeOp, UndefinedOptionFlag, MagickFalse },
1348 {
"SrcIn", SrcInCompositeOp, UndefinedOptionFlag, MagickFalse },
1349 {
"SrcOut", SrcOutCompositeOp, UndefinedOptionFlag, MagickFalse },
1350 {
"SrcOver", SrcOverCompositeOp, UndefinedOptionFlag, MagickFalse },
1351 {
"Src", SrcCompositeOp, UndefinedOptionFlag, MagickFalse },
1352 {
"Stamp", StampCompositeOp, UndefinedOptionFlag, MagickFalse },
1353 {
"Stereo", StereoCompositeOp, UndefinedOptionFlag, MagickFalse },
1354 {
"Subtract", ModulusSubtractCompositeOp, DeprecateOptionFlag, MagickTrue },
1355 {
"Threshold", ThresholdCompositeOp, DeprecateOptionFlag, MagickTrue },
1356 {
"VividLight", VividLightCompositeOp, UndefinedOptionFlag, MagickFalse },
1357 {
"Xor", XorCompositeOp, UndefinedOptionFlag, MagickFalse },
1358 { (
char *) NULL, UndefinedCompositeOp, UndefinedOptionFlag, MagickFalse }
1362 {
"Undefined", UndefinedCompression, UndefinedOptionFlag, MagickTrue },
1363 {
"B44A", B44ACompression, UndefinedOptionFlag, MagickFalse },
1364 {
"B44", B44Compression, UndefinedOptionFlag, MagickFalse },
1365 {
"BZip", BZipCompression, UndefinedOptionFlag, MagickFalse },
1366 {
"DWAA", DWAACompression, UndefinedOptionFlag, MagickFalse },
1367 {
"DWAB", DWABCompression, UndefinedOptionFlag, MagickFalse },
1368 {
"DXT1", DXT1Compression, UndefinedOptionFlag, MagickFalse },
1369 {
"DXT3", DXT3Compression, UndefinedOptionFlag, MagickFalse },
1370 {
"DXT5", DXT5Compression, UndefinedOptionFlag, MagickFalse },
1371 {
"BC7", BC7Compression, UndefinedOptionFlag, MagickFalse },
1372 {
"Fax", FaxCompression, UndefinedOptionFlag, MagickFalse },
1373 {
"Group4", Group4Compression, UndefinedOptionFlag, MagickFalse },
1374 {
"JBIG1", JBIG1Compression, UndefinedOptionFlag, MagickFalse },
1375 {
"JBIG2", JBIG2Compression, UndefinedOptionFlag, MagickFalse },
1376 {
"JPEG2000", JPEG2000Compression, UndefinedOptionFlag, MagickFalse },
1377 {
"JPEG", JPEGCompression, UndefinedOptionFlag, MagickFalse },
1378 {
"LERC", LERCCompression, UndefinedOptionFlag, MagickFalse },
1379 {
"LosslessJPEG", LosslessJPEGCompression, UndefinedOptionFlag, MagickFalse },
1380 {
"Lossless", LosslessJPEGCompression, UndefinedOptionFlag, MagickFalse },
1381 {
"LZMA", LZMACompression, UndefinedOptionFlag, MagickFalse },
1382 {
"LZW", LZWCompression, UndefinedOptionFlag, MagickFalse },
1383 {
"None", NoCompression, UndefinedOptionFlag, MagickFalse },
1384 {
"Piz", PizCompression, UndefinedOptionFlag, MagickFalse },
1385 {
"Pxr24", Pxr24Compression, UndefinedOptionFlag, MagickFalse },
1386 {
"RLE", RLECompression, UndefinedOptionFlag, MagickFalse },
1387 {
"RunlengthEncoded", RLECompression, UndefinedOptionFlag, MagickFalse },
1388 {
"WebP", WebPCompression, UndefinedOptionFlag, MagickFalse },
1389 {
"ZipS", ZipSCompression, UndefinedOptionFlag, MagickFalse },
1390 {
"Zip", ZipCompression, UndefinedOptionFlag, MagickFalse },
1391 {
"Zstd", ZstdCompression, UndefinedOptionFlag, MagickFalse },
1392 { (
char *) NULL, UndefinedCompression, UndefinedOptionFlag, MagickFalse }
1396 {
"Undefined", UndefinedData, UndefinedOptionFlag, MagickTrue },
1397 {
"Byte", ByteData, UndefinedOptionFlag, MagickFalse },
1398 {
"Long", LongData, UndefinedOptionFlag, MagickFalse },
1399 {
"Short", ShortData, UndefinedOptionFlag, MagickFalse },
1400 {
"String", StringData, UndefinedOptionFlag, MagickFalse },
1401 { (
char *) NULL, UndefinedData, UndefinedOptionFlag, MagickFalse }
1405 {
"Undefined", UndefinedDecoration, UndefinedOptionFlag, MagickTrue },
1406 {
"LineThrough", LineThroughDecoration, UndefinedOptionFlag, MagickFalse },
1407 {
"None", NoDecoration, UndefinedOptionFlag, MagickFalse },
1408 {
"Overline", OverlineDecoration, UndefinedOptionFlag, MagickFalse },
1409 {
"Underline", UnderlineDecoration, UndefinedOptionFlag, MagickFalse },
1410 { (
char *) NULL, UndefinedDecoration, UndefinedOptionFlag, MagickFalse }
1412 DirectionOptions[] =
1414 {
"Undefined", UndefinedDirection, UndefinedOptionFlag, MagickTrue },
1415 {
"right-to-left", RightToLeftDirection, UndefinedOptionFlag, MagickFalse },
1416 {
"RTL", RightToLeftDirection, UndefinedOptionFlag, MagickFalse },
1417 {
"left-to-right", LeftToRightDirection, UndefinedOptionFlag, MagickFalse },
1418 {
"LTR", LeftToRightDirection, UndefinedOptionFlag, MagickFalse },
1419 {
"top-to-bottom", TopToBottomDirection, UndefinedOptionFlag, MagickFalse },
1420 {
"TTB", TopToBottomDirection, UndefinedOptionFlag, MagickFalse },
1421 { (
char *) NULL, UndefinedDirection, UndefinedOptionFlag, MagickFalse }
1425 {
"Undefined", UndefinedDispose, UndefinedOptionFlag, MagickFalse },
1426 {
"Background", BackgroundDispose, UndefinedOptionFlag, MagickFalse },
1427 {
"None", NoneDispose, UndefinedOptionFlag, MagickFalse },
1428 {
"Previous", PreviousDispose, UndefinedOptionFlag, MagickFalse },
1429 {
"0", UndefinedDispose, UndefinedOptionFlag, MagickFalse },
1430 {
"1", NoneDispose, UndefinedOptionFlag, MagickFalse },
1431 {
"2", BackgroundDispose, UndefinedOptionFlag, MagickFalse },
1432 {
"3", PreviousDispose, UndefinedOptionFlag, MagickFalse },
1433 { (
char *) NULL, UndefinedDispose, UndefinedOptionFlag, MagickFalse }
1437 {
"Affine", AffineDistortion, UndefinedOptionFlag, MagickFalse },
1438 {
"RigidAffine", RigidAffineDistortion, UndefinedOptionFlag, MagickFalse },
1439 {
"AffineProjection", AffineProjectionDistortion, UndefinedOptionFlag, MagickFalse },
1440 {
"ScaleRotateTranslate", ScaleRotateTranslateDistortion, UndefinedOptionFlag, MagickFalse },
1441 {
"SRT", ScaleRotateTranslateDistortion, UndefinedOptionFlag, MagickFalse },
1442 {
"Perspective", PerspectiveDistortion, UndefinedOptionFlag, MagickFalse },
1443 {
"PerspectiveProjection", PerspectiveProjectionDistortion, UndefinedOptionFlag, MagickFalse },
1444 {
"Bilinear", BilinearForwardDistortion, UndefinedOptionFlag, MagickTrue },
1445 {
"BilinearForward", BilinearForwardDistortion, UndefinedOptionFlag, MagickFalse },
1446 {
"BilinearReverse", BilinearReverseDistortion, UndefinedOptionFlag, MagickFalse },
1447 {
"Polynomial", PolynomialDistortion, UndefinedOptionFlag, MagickFalse },
1448 {
"Arc", ArcDistortion, UndefinedOptionFlag, MagickFalse },
1449 {
"Polar", PolarDistortion, UndefinedOptionFlag, MagickFalse },
1450 {
"DePolar", DePolarDistortion, UndefinedOptionFlag, MagickFalse },
1451 {
"Barrel", BarrelDistortion, UndefinedOptionFlag, MagickFalse },
1452 {
"Cylinder2Plane", Cylinder2PlaneDistortion, UndefinedOptionFlag, MagickTrue },
1453 {
"Plane2Cylinder", Plane2CylinderDistortion, UndefinedOptionFlag, MagickTrue },
1454 {
"BarrelInverse", BarrelInverseDistortion, UndefinedOptionFlag, MagickFalse },
1455 {
"Shepards", ShepardsDistortion, UndefinedOptionFlag, MagickFalse },
1456 {
"Resize", ResizeDistortion, UndefinedOptionFlag, MagickFalse },
1457 { (
char *) NULL, UndefinedDistortion, UndefinedOptionFlag, MagickFalse }
1461 {
"Undefined", UndefinedDitherMethod, UndefinedOptionFlag, MagickTrue },
1462 {
"None", NoDitherMethod, UndefinedOptionFlag, MagickFalse },
1463 {
"FloydSteinberg", FloydSteinbergDitherMethod, UndefinedOptionFlag, MagickFalse },
1464 {
"Riemersma", RiemersmaDitherMethod, UndefinedOptionFlag, MagickFalse },
1465 { (
char *) NULL, UndefinedEndian, UndefinedOptionFlag, MagickFalse }
1469 {
"Undefined", UndefinedEndian, UndefinedOptionFlag, MagickTrue },
1470 {
"LSB", LSBEndian, UndefinedOptionFlag, MagickFalse },
1471 {
"MSB", MSBEndian, UndefinedOptionFlag, MagickFalse },
1472 { (
char *) NULL, UndefinedEndian, UndefinedOptionFlag, MagickFalse }
1476 {
"Undefined", UndefinedEvaluateOperator, UndefinedOptionFlag, MagickTrue },
1477 {
"Abs", AbsEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1478 {
"Add", AddEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1479 {
"AddModulus", AddModulusEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1480 {
"And", AndEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1481 {
"Cos", CosineEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1482 {
"Cosine", CosineEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1483 {
"Divide", DivideEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1484 {
"Exp", ExponentialEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1485 {
"Exponential", ExponentialEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1486 {
"GaussianNoise", GaussianNoiseEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1487 {
"ImpulseNoise", ImpulseNoiseEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1488 {
"InverseLog", InverseLogEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1489 {
"LaplacianNoise", LaplacianNoiseEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1490 {
"LeftShift", LeftShiftEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1491 {
"Log", LogEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1492 {
"Max", MaxEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1493 {
"Mean", MeanEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1494 {
"Median", MedianEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1495 {
"Min", MinEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1496 {
"MultiplicativeNoise", MultiplicativeNoiseEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1497 {
"Multiply", MultiplyEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1498 {
"Or", OrEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1499 {
"PoissonNoise", PoissonNoiseEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1500 {
"Pow", PowEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1501 {
"RightShift", RightShiftEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1502 {
"RMS", RootMeanSquareEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1503 {
"RootMeanSquare", RootMeanSquareEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1504 {
"Set", SetEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1505 {
"Sin", SineEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1506 {
"Sine", SineEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1507 {
"Subtract", SubtractEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1508 {
"Sum", SumEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1509 {
"Threshold", ThresholdEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1510 {
"ThresholdBlack", ThresholdBlackEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1511 {
"ThresholdWhite", ThresholdWhiteEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1512 {
"UniformNoise", UniformNoiseEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1513 {
"Xor", XorEvaluateOperator, UndefinedOptionFlag, MagickFalse },
1514 { (
char *) NULL, UndefinedEvaluateOperator, UndefinedOptionFlag, MagickFalse }
1518 {
"Undefined", UndefinedRule, UndefinedOptionFlag, MagickTrue },
1519 {
"Evenodd", EvenOddRule, UndefinedOptionFlag, MagickFalse },
1520 {
"NonZero", NonZeroRule, UndefinedOptionFlag, MagickFalse },
1521 { (
char *) NULL, UndefinedRule, UndefinedOptionFlag, MagickFalse }
1525 {
"Undefined", UndefinedFilter, UndefinedOptionFlag, MagickTrue },
1526 {
"Bartlett", BartlettFilter, UndefinedOptionFlag, MagickFalse },
1527 {
"Blackman", BlackmanFilter, UndefinedOptionFlag, MagickFalse },
1528 {
"Bohman", BohmanFilter, UndefinedOptionFlag, MagickFalse },
1529 {
"Box", BoxFilter, UndefinedOptionFlag, MagickFalse },
1530 {
"Catrom", CatromFilter, UndefinedOptionFlag, MagickFalse },
1531 {
"Cosine", CosineFilter, UndefinedOptionFlag, MagickFalse },
1532 {
"Cubic", CubicFilter, UndefinedOptionFlag, MagickFalse },
1533 {
"Gaussian", GaussianFilter, UndefinedOptionFlag, MagickFalse },
1534 {
"Hamming", HammingFilter, UndefinedOptionFlag, MagickFalse },
1535 {
"Hann", HannFilter, UndefinedOptionFlag, MagickFalse },
1536 {
"Hanning", HannFilter, UndefinedOptionFlag, MagickTrue },
1537 {
"Hermite", HermiteFilter, UndefinedOptionFlag, MagickFalse },
1538 {
"Jinc", JincFilter, UndefinedOptionFlag, MagickFalse },
1539 {
"Kaiser", KaiserFilter, UndefinedOptionFlag, MagickFalse },
1540 {
"Lagrange", LagrangeFilter, UndefinedOptionFlag, MagickFalse },
1541 {
"Lanczos", LanczosFilter, UndefinedOptionFlag, MagickFalse },
1542 {
"Lanczos2", Lanczos2Filter, UndefinedOptionFlag, MagickFalse },
1543 {
"Lanczos2Sharp", Lanczos2SharpFilter, UndefinedOptionFlag, MagickFalse },
1544 {
"LanczosRadius", LanczosRadiusFilter, UndefinedOptionFlag, MagickFalse },
1545 {
"LanczosSharp", LanczosSharpFilter, UndefinedOptionFlag, MagickFalse },
1546 {
"MagicKernelSharp2013", MagicKernelSharp2013Filter, UndefinedOptionFlag, MagickFalse },
1547 {
"MagicKernelSharp2021", MagicKernelSharp2021Filter, UndefinedOptionFlag, MagickFalse },
1548 {
"Mitchell", MitchellFilter, UndefinedOptionFlag, MagickFalse },
1549 {
"Parzen", ParzenFilter, UndefinedOptionFlag, MagickFalse },
1550 {
"Point", PointFilter, UndefinedOptionFlag, MagickFalse },
1551 {
"Quadratic", QuadraticFilter, UndefinedOptionFlag, MagickFalse },
1552 {
"Robidoux", RobidouxFilter, UndefinedOptionFlag, MagickFalse },
1553 {
"RobidouxSharp", RobidouxSharpFilter, UndefinedOptionFlag, MagickFalse },
1554 {
"Sinc", SincFilter, UndefinedOptionFlag, MagickFalse },
1555 {
"SincFast", SincFastFilter, UndefinedOptionFlag, MagickFalse },
1556 {
"Spline", SplineFilter, UndefinedOptionFlag, MagickFalse },
1557 {
"CubicSpline", CubicSplineFilter, UndefinedOptionFlag, MagickFalse },
1558 {
"Triangle", TriangleFilter, UndefinedOptionFlag, MagickFalse },
1559 {
"Welch", WelchFilter, UndefinedOptionFlag, MagickFalse },
1560 {
"Welsh", WelchFilter, UndefinedOptionFlag, MagickTrue },
1561 { (
char *) NULL, UndefinedFilter, UndefinedOptionFlag, MagickFalse }
1565 {
"Undefined", UndefinedFunction, UndefinedOptionFlag, MagickTrue },
1566 {
"Polynomial", PolynomialFunction, UndefinedOptionFlag, MagickFalse },
1567 {
"Sinusoid", SinusoidFunction, UndefinedOptionFlag, MagickFalse },
1568 {
"ArcSin", ArcsinFunction, UndefinedOptionFlag, MagickFalse },
1569 {
"ArcTan", ArctanFunction, UndefinedOptionFlag, MagickFalse },
1570 { (
char *) NULL, UndefinedFunction, UndefinedOptionFlag, MagickFalse }
1574 {
"Undefined", UndefinedGradient, UndefinedOptionFlag, MagickTrue },
1575 {
"Linear", LinearGradient, UndefinedOptionFlag, MagickFalse },
1576 {
"Radial", RadialGradient, UndefinedOptionFlag, MagickFalse },
1577 { (
char *) NULL, UndefinedRule, UndefinedOptionFlag, MagickFalse }
1581 {
"Undefined", UndefinedGravity, UndefinedOptionFlag, MagickTrue },
1582 {
"None", UndefinedGravity, UndefinedOptionFlag, MagickFalse },
1583 {
"Center", CenterGravity, UndefinedOptionFlag, MagickFalse },
1584 {
"East", EastGravity, UndefinedOptionFlag, MagickFalse },
1585 {
"Forget", ForgetGravity, UndefinedOptionFlag, MagickFalse },
1586 {
"NorthEast", NorthEastGravity, UndefinedOptionFlag, MagickFalse },
1587 {
"North", NorthGravity, UndefinedOptionFlag, MagickFalse },
1588 {
"NorthWest", NorthWestGravity, UndefinedOptionFlag, MagickFalse },
1589 {
"SouthEast", SouthEastGravity, UndefinedOptionFlag, MagickFalse },
1590 {
"South", SouthGravity, UndefinedOptionFlag, MagickFalse },
1591 {
"SouthWest", SouthWestGravity, UndefinedOptionFlag, MagickFalse },
1592 {
"West", WestGravity, UndefinedOptionFlag, MagickFalse },
1593 { (
char *) NULL, UndefinedGravity, UndefinedOptionFlag, MagickFalse }
1595 IlluminantOptions[] =
1597 {
"Undefined", UndefinedIlluminant, UndefinedOptionFlag, MagickTrue },
1598 {
"A", AIlluminant, UndefinedOptionFlag, MagickFalse },
1599 {
"B", BIlluminant, UndefinedOptionFlag, MagickFalse },
1600 {
"C", CIlluminant, UndefinedOptionFlag, MagickFalse },
1601 {
"D50", D50Illuminant, UndefinedOptionFlag, MagickFalse },
1602 {
"D55", D55Illuminant, UndefinedOptionFlag, MagickFalse },
1603 {
"D65", D65Illuminant, UndefinedOptionFlag, MagickFalse },
1604 {
"D75", D75Illuminant, UndefinedOptionFlag, MagickFalse },
1605 {
"E", EIlluminant, UndefinedOptionFlag, MagickFalse },
1606 {
"F2", F2Illuminant, UndefinedOptionFlag, MagickFalse },
1607 {
"F7", F7Illuminant, UndefinedOptionFlag, MagickFalse },
1608 {
"F11", F11Illuminant, UndefinedOptionFlag, MagickFalse },
1609 { (
char *) NULL, UndefinedIntent, UndefinedOptionFlag, MagickFalse }
1613 {
"Undefined", UndefinedIntent, UndefinedOptionFlag, MagickTrue },
1614 {
"Absolute", AbsoluteIntent, UndefinedOptionFlag, MagickFalse },
1615 {
"Perceptual", PerceptualIntent, UndefinedOptionFlag, MagickFalse },
1616 {
"Relative", RelativeIntent, UndefinedOptionFlag, MagickFalse },
1617 {
"Saturation", SaturationIntent, UndefinedOptionFlag, MagickFalse },
1618 { (
char *) NULL, UndefinedIntent, UndefinedOptionFlag, MagickFalse }
1620 InterlaceOptions[] =
1622 {
"Undefined", UndefinedInterlace, UndefinedOptionFlag, MagickTrue },
1623 {
"Line", LineInterlace, UndefinedOptionFlag, MagickFalse },
1624 {
"None", NoInterlace, UndefinedOptionFlag, MagickFalse },
1625 {
"Plane", PlaneInterlace, UndefinedOptionFlag, MagickFalse },
1626 {
"Partition", PartitionInterlace, UndefinedOptionFlag, MagickFalse },
1627 {
"GIF", GIFInterlace, UndefinedOptionFlag, MagickFalse },
1628 {
"JPEG", JPEGInterlace, UndefinedOptionFlag, MagickFalse },
1629 {
"PNG", PNGInterlace, UndefinedOptionFlag, MagickFalse },
1630 { (
char *) NULL, UndefinedInterlace, UndefinedOptionFlag, MagickFalse }
1632 InterpolateOptions[] =
1634 {
"Undefined", UndefinedInterpolatePixel, UndefinedOptionFlag, MagickTrue },
1635 {
"Average", AverageInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1636 {
"Average4", AverageInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1637 {
"Average9", Average9InterpolatePixel, UndefinedOptionFlag, MagickFalse },
1638 {
"Average16", Average16InterpolatePixel, UndefinedOptionFlag, MagickFalse },
1639 {
"Background", BackgroundInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1640 {
"Bilinear", BilinearInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1641 {
"Blend", BlendInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1642 {
"Catrom", CatromInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1643 {
"Integer", IntegerInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1644 {
"Mesh", MeshInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1645 {
"Nearest", NearestInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1646 {
"NearestNeighbor", NearestInterpolatePixel, UndefinedOptionFlag, MagickTrue },
1647 {
"Spline", SplineInterpolatePixel, UndefinedOptionFlag, MagickFalse },
1648 { (
char *) NULL, UndefinedInterpolatePixel, UndefinedOptionFlag, MagickFalse }
1652 {
"Undefined", UndefinedKernel, UndefinedOptionFlag, MagickTrue },
1653 {
"Unity", UnityKernel, UndefinedOptionFlag, MagickFalse },
1654 {
"Gaussian", GaussianKernel, UndefinedOptionFlag, MagickFalse },
1655 {
"DoG", DoGKernel, UndefinedOptionFlag, MagickFalse },
1656 {
"LoG", LoGKernel, UndefinedOptionFlag, MagickFalse },
1657 {
"Blur", BlurKernel, UndefinedOptionFlag, MagickFalse },
1658 {
"Comet", CometKernel, UndefinedOptionFlag, MagickFalse },
1659 {
"Binomial", BinomialKernel, UndefinedOptionFlag, MagickFalse },
1660 {
"Laplacian", LaplacianKernel, UndefinedOptionFlag, MagickFalse },
1661 {
"Sobel", SobelKernel, UndefinedOptionFlag, MagickFalse },
1662 {
"FreiChen", FreiChenKernel, UndefinedOptionFlag, MagickFalse },
1663 {
"Roberts", RobertsKernel, UndefinedOptionFlag, MagickFalse },
1664 {
"Prewitt", PrewittKernel, UndefinedOptionFlag, MagickFalse },
1665 {
"Compass", CompassKernel, UndefinedOptionFlag, MagickFalse },
1666 {
"Kirsch", KirschKernel, UndefinedOptionFlag, MagickFalse },
1667 {
"Diamond", DiamondKernel, UndefinedOptionFlag, MagickFalse },
1668 {
"Square", SquareKernel, UndefinedOptionFlag, MagickFalse },
1669 {
"Rectangle", RectangleKernel, UndefinedOptionFlag, MagickFalse },
1670 {
"Disk", DiskKernel, UndefinedOptionFlag, MagickFalse },
1671 {
"Octagon", OctagonKernel, UndefinedOptionFlag, MagickFalse },
1672 {
"Plus", PlusKernel, UndefinedOptionFlag, MagickFalse },
1673 {
"Cross", CrossKernel, UndefinedOptionFlag, MagickFalse },
1674 {
"Ring", RingKernel, UndefinedOptionFlag, MagickFalse },
1675 {
"Peaks", PeaksKernel, UndefinedOptionFlag, MagickFalse },
1676 {
"Edges", EdgesKernel, UndefinedOptionFlag, MagickFalse },
1677 {
"Corners", CornersKernel, UndefinedOptionFlag, MagickFalse },
1678 {
"Diagonals", DiagonalsKernel, UndefinedOptionFlag, MagickFalse },
1679 {
"LineEnds", LineEndsKernel, UndefinedOptionFlag, MagickFalse },
1680 {
"LineJunctions", LineJunctionsKernel, UndefinedOptionFlag, MagickFalse },
1681 {
"Ridges", RidgesKernel, UndefinedOptionFlag, MagickFalse },
1682 {
"ConvexHull", ConvexHullKernel, UndefinedOptionFlag, MagickFalse },
1683 {
"ThinSe", ThinSEKernel, UndefinedOptionFlag, MagickFalse },
1684 {
"Skeleton", SkeletonKernel, UndefinedOptionFlag, MagickFalse },
1685 {
"Chebyshev", ChebyshevKernel, UndefinedOptionFlag, MagickFalse },
1686 {
"Manhattan", ManhattanKernel, UndefinedOptionFlag, MagickFalse },
1687 {
"Octagonal", OctagonalKernel, UndefinedOptionFlag, MagickFalse },
1688 {
"Euclidean", EuclideanKernel, UndefinedOptionFlag, MagickFalse },
1689 {
"User Defined", UserDefinedKernel, UndefinedOptionFlag, MagickTrue },
1690 { (
char *) NULL, UndefinedKernel, UndefinedOptionFlag, MagickFalse }
1694 {
"Undefined", UndefinedLayer, UndefinedOptionFlag, MagickTrue },
1695 {
"Coalesce", CoalesceLayer, UndefinedOptionFlag, MagickFalse },
1696 {
"CompareAny", CompareAnyLayer, UndefinedOptionFlag, MagickFalse },
1697 {
"CompareClear", CompareClearLayer, UndefinedOptionFlag, MagickFalse },
1698 {
"CompareOverlay", CompareOverlayLayer, UndefinedOptionFlag, MagickFalse },
1699 {
"Dispose", DisposeLayer, UndefinedOptionFlag, MagickFalse },
1700 {
"Optimize", OptimizeLayer, UndefinedOptionFlag, MagickFalse },
1701 {
"OptimizeFrame", OptimizeImageLayer, UndefinedOptionFlag, MagickFalse },
1702 {
"OptimizePlus", OptimizePlusLayer, UndefinedOptionFlag, MagickFalse },
1703 {
"OptimizeTransparency", OptimizeTransLayer, UndefinedOptionFlag, MagickFalse },
1704 {
"RemoveDups", RemoveDupsLayer, UndefinedOptionFlag, MagickFalse },
1705 {
"RemoveZero", RemoveZeroLayer, UndefinedOptionFlag, MagickFalse },
1706 {
"Composite", CompositeLayer, UndefinedOptionFlag, MagickFalse },
1707 {
"Merge", MergeLayer, UndefinedOptionFlag, MagickFalse },
1708 {
"Flatten", FlattenLayer, UndefinedOptionFlag, MagickFalse },
1709 {
"Mosaic", MosaicLayer, UndefinedOptionFlag, MagickFalse },
1710 {
"TrimBounds", TrimBoundsLayer, UndefinedOptionFlag, MagickFalse },
1711 { (
char *) NULL, UndefinedLayer, UndefinedOptionFlag, MagickFalse }
1715 {
"Undefined", UndefinedCap, UndefinedOptionFlag, MagickTrue },
1716 {
"Butt", ButtCap, UndefinedOptionFlag, MagickFalse },
1717 {
"Round", RoundCap, UndefinedOptionFlag, MagickFalse },
1718 {
"Square", SquareCap, UndefinedOptionFlag, MagickFalse },
1719 { (
char *) NULL, UndefinedCap, UndefinedOptionFlag, MagickFalse }
1723 {
"Undefined", UndefinedJoin, UndefinedOptionFlag, MagickTrue },
1724 {
"Bevel", BevelJoin, UndefinedOptionFlag, MagickFalse },
1725 {
"Miter", MiterJoin, UndefinedOptionFlag, MagickFalse },
1726 {
"Round", RoundJoin, UndefinedOptionFlag, MagickFalse },
1727 { (
char *) NULL, UndefinedJoin, UndefinedOptionFlag, MagickFalse }
1731 {
"Align", MagickAlignOptions, UndefinedOptionFlag, MagickFalse },
1732 {
"Alpha", MagickAlphaChannelOptions, UndefinedOptionFlag, MagickFalse },
1733 {
"AutoThreshold", MagickAutoThresholdOptions, UndefinedOptionFlag, MagickFalse },
1734 {
"Boolean", MagickBooleanOptions, UndefinedOptionFlag, MagickFalse },
1735 {
"Cache", MagickCacheOptions, UndefinedOptionFlag, MagickFalse },
1736 {
"Channel", MagickChannelOptions, UndefinedOptionFlag, MagickFalse },
1737 {
"Class", MagickClassOptions, UndefinedOptionFlag, MagickFalse },
1738 {
"CLI", MagickCLIOptions, UndefinedOptionFlag, MagickFalse },
1739 {
"ClipPath", MagickClipPathOptions, UndefinedOptionFlag, MagickFalse },
1740 {
"Coder", MagickCoderOptions, UndefinedOptionFlag, MagickFalse },
1741 {
"Color", MagickColorOptions, UndefinedOptionFlag, MagickFalse },
1742 {
"Colorspace", MagickColorspaceOptions, UndefinedOptionFlag, MagickFalse },
1743 {
"Command", MagickCommandOptions, UndefinedOptionFlag, MagickFalse },
1744 {
"Compliance", MagickComplianceOptions, UndefinedOptionFlag, MagickFalse },
1745 {
"Complex", MagickComplexOptions, UndefinedOptionFlag, MagickFalse },
1746 {
"Compose", MagickComposeOptions, UndefinedOptionFlag, MagickFalse },
1747 {
"Compress", MagickCompressOptions, UndefinedOptionFlag, MagickFalse },
1748 {
"Configure", MagickConfigureOptions, UndefinedOptionFlag, MagickFalse },
1749 {
"DataType", MagickDataTypeOptions, UndefinedOptionFlag, MagickFalse },
1750 {
"Debug", MagickDebugOptions, UndefinedOptionFlag, MagickFalse },
1751 {
"Decoration", MagickDecorateOptions, UndefinedOptionFlag, MagickFalse },
1752 {
"Delegate", MagickDelegateOptions, UndefinedOptionFlag, MagickFalse },
1753 {
"Direction", MagickDirectionOptions, UndefinedOptionFlag, MagickFalse },
1754 {
"Dispose", MagickDisposeOptions, UndefinedOptionFlag, MagickFalse },
1755 {
"Distort", MagickDistortOptions, UndefinedOptionFlag, MagickFalse },
1756 {
"Dither", MagickDitherOptions, UndefinedOptionFlag, MagickFalse },
1757 {
"Endian", MagickEndianOptions, UndefinedOptionFlag, MagickFalse },
1758 {
"Evaluate", MagickEvaluateOptions, UndefinedOptionFlag, MagickFalse },
1759 {
"FillRule", MagickFillRuleOptions, UndefinedOptionFlag, MagickFalse },
1760 {
"Filter", MagickFilterOptions, UndefinedOptionFlag, MagickFalse },
1761 {
"Font", MagickFontOptions, UndefinedOptionFlag, MagickFalse },
1762 {
"Format", MagickFormatOptions, UndefinedOptionFlag, MagickFalse },
1763 {
"Function", MagickFunctionOptions, UndefinedOptionFlag, MagickFalse },
1764 {
"Gradient", MagickGradientOptions, UndefinedOptionFlag, MagickFalse },
1765 {
"Gravity", MagickGravityOptions, UndefinedOptionFlag, MagickFalse },
1766 {
"Illuminant", MagickIlluminantOptions, UndefinedOptionFlag, MagickFalse },
1767 {
"Intensity", MagickPixelIntensityOptions, UndefinedOptionFlag, MagickFalse },
1768 {
"Intent", MagickIntentOptions, UndefinedOptionFlag, MagickFalse },
1769 {
"Interlace", MagickInterlaceOptions, UndefinedOptionFlag, MagickFalse },
1770 {
"Interpolate", MagickInterpolateOptions, UndefinedOptionFlag, MagickFalse },
1771 {
"Kernel", MagickKernelOptions, UndefinedOptionFlag, MagickFalse },
1772 {
"Layers", MagickLayerOptions, UndefinedOptionFlag, MagickFalse },
1773 {
"LineCap", MagickLineCapOptions, UndefinedOptionFlag, MagickFalse },
1774 {
"LineJoin", MagickLineJoinOptions, UndefinedOptionFlag, MagickFalse },
1775 {
"List", MagickListOptions, UndefinedOptionFlag, MagickFalse },
1776 {
"Locale", MagickLocaleOptions, UndefinedOptionFlag, MagickFalse },
1777 {
"LogEvent", MagickLogEventOptions, UndefinedOptionFlag, MagickFalse },
1778 {
"Log", MagickLogOptions, UndefinedOptionFlag, MagickFalse },
1779 {
"Magic", MagickMagicOptions, UndefinedOptionFlag, MagickFalse },
1780 {
"Method", MagickMethodOptions, UndefinedOptionFlag, MagickFalse },
1781 {
"Metric", MagickMetricOptions, UndefinedOptionFlag, MagickFalse },
1782 {
"Mime", MagickMimeOptions, UndefinedOptionFlag, MagickFalse },
1783 {
"Mode", MagickModeOptions, UndefinedOptionFlag, MagickFalse },
1784 {
"Morphology", MagickMorphologyOptions, UndefinedOptionFlag, MagickFalse },
1785 {
"Module", MagickModuleOptions, UndefinedOptionFlag, MagickFalse },
1786 {
"Noise", MagickNoiseOptions, UndefinedOptionFlag, MagickFalse },
1787 {
"Orientation", MagickOrientationOptions, UndefinedOptionFlag, MagickFalse },
1788 {
"Pagesize", MagickPagesizeOptions, UndefinedOptionFlag, MagickFalse },
1789 {
"PixelChannel", MagickPixelChannelOptions, UndefinedOptionFlag, MagickFalse },
1790 {
"PixelIntensity", MagickPixelIntensityOptions, UndefinedOptionFlag, MagickFalse },
1791 {
"PixelMask", MagickPixelMaskOptions, UndefinedOptionFlag, MagickFalse },
1792 {
"PixelTrait", MagickPixelTraitOptions, UndefinedOptionFlag, MagickFalse },
1793 {
"Policy", MagickPolicyOptions, UndefinedOptionFlag, MagickFalse },
1794 {
"PolicyDomain", MagickPolicyDomainOptions, UndefinedOptionFlag, MagickFalse },
1795 {
"PolicyRights", MagickPolicyRightsOptions, UndefinedOptionFlag, MagickFalse },
1796 {
"Preview", MagickPreviewOptions, UndefinedOptionFlag, MagickFalse },
1797 {
"Primitive", MagickPrimitiveOptions, UndefinedOptionFlag, MagickFalse },
1798 {
"QuantumFormat", MagickQuantumFormatOptions, UndefinedOptionFlag, MagickFalse },
1799 {
"Resource", MagickResourceOptions, UndefinedOptionFlag, MagickFalse },
1800 {
"SparseColor", MagickSparseColorOptions, UndefinedOptionFlag, MagickFalse },
1801 {
"Statistic", MagickStatisticOptions, UndefinedOptionFlag, MagickFalse },
1802 {
"Storage", MagickStorageOptions, UndefinedOptionFlag, MagickFalse },
1803 {
"Stretch", MagickStretchOptions, UndefinedOptionFlag, MagickFalse },
1804 {
"Style", MagickStyleOptions, UndefinedOptionFlag, MagickFalse },
1805 {
"Threshold", MagickThresholdOptions, UndefinedOptionFlag, MagickFalse },
1806 {
"Tool", MagickToolOptions, UndefinedOptionFlag, MagickFalse },
1807 {
"Type", MagickTypeOptions, UndefinedOptionFlag, MagickFalse },
1808 {
"Units", MagickResolutionOptions, UndefinedOptionFlag, MagickFalse },
1809 {
"Undefined", MagickUndefinedOptions, UndefinedOptionFlag, MagickTrue },
1810 {
"Validate", MagickValidateOptions, UndefinedOptionFlag, MagickFalse },
1811 {
"VirtualPixel", MagickVirtualPixelOptions, UndefinedOptionFlag, MagickFalse },
1812 {
"Weight", MagickWeightOptions, UndefinedOptionFlag, MagickFalse },
1813 {
"WordBreak", MagickWordBreakOptions, UndefinedOptionFlag, MagickFalse },
1814 { (
char *) NULL, MagickUndefinedOptions, UndefinedOptionFlag, MagickFalse }
1818 {
"Undefined", UndefinedEvents, UndefinedOptionFlag, MagickTrue },
1819 {
"All", (AllEvents &~ TraceEvent), UndefinedOptionFlag, MagickFalse },
1820 {
"Accelerate", AccelerateEvent, UndefinedOptionFlag, MagickFalse },
1821 {
"Annotate", AnnotateEvent, UndefinedOptionFlag, MagickFalse },
1822 {
"Blob", BlobEvent, UndefinedOptionFlag, MagickFalse },
1823 {
"Cache", CacheEvent, UndefinedOptionFlag, MagickFalse },
1824 {
"Coder", CoderEvent, UndefinedOptionFlag, MagickFalse },
1825 {
"Command", CommandEvent, UndefinedOptionFlag, MagickFalse },
1826 {
"Configure", ConfigureEvent, UndefinedOptionFlag, MagickFalse },
1827 {
"Deprecate", DeprecateEvent, UndefinedOptionFlag, MagickFalse },
1828 {
"Draw", DrawEvent, UndefinedOptionFlag, MagickFalse },
1829 {
"Exception", ExceptionEvent, UndefinedOptionFlag, MagickFalse },
1830 {
"Locale", LocaleEvent, UndefinedOptionFlag, MagickFalse },
1831 {
"Module", ModuleEvent, UndefinedOptionFlag, MagickFalse },
1832 {
"None", NoEvents, UndefinedOptionFlag, MagickFalse },
1833 {
"Pixel", PixelEvent, UndefinedOptionFlag, MagickFalse },
1834 {
"Policy", PolicyEvent, UndefinedOptionFlag, MagickFalse },
1835 {
"Resource", ResourceEvent, UndefinedOptionFlag, MagickFalse },
1836 {
"Trace", TraceEvent, UndefinedOptionFlag, MagickFalse },
1837 {
"Transform", TransformEvent, UndefinedOptionFlag, MagickFalse },
1838 {
"User", UserEvent, UndefinedOptionFlag, MagickFalse },
1839 {
"Wand", WandEvent, UndefinedOptionFlag, MagickFalse },
1840 {
"X11", X11Event, UndefinedOptionFlag, MagickFalse },
1841 { (
char *) NULL, UndefinedEvents, UndefinedOptionFlag, MagickFalse }
1845 {
"Undefined", UndefinedErrorMetric, UndefinedOptionFlag, MagickTrue },
1846 {
"AE", AbsoluteErrorMetric, UndefinedOptionFlag, MagickFalse },
1847 {
"DSSIM", StructuralDissimilarityErrorMetric, UndefinedOptionFlag, MagickFalse },
1848 {
"Fuzz", FuzzErrorMetric, UndefinedOptionFlag, MagickFalse },
1849 {
"MAE", MeanAbsoluteErrorMetric, UndefinedOptionFlag, MagickFalse },
1850 {
"MEPP", MeanErrorPerPixelErrorMetric, UndefinedOptionFlag, MagickFalse },
1851 {
"MSE", MeanSquaredErrorMetric, UndefinedOptionFlag, MagickFalse },
1852 {
"NCC", NormalizedCrossCorrelationErrorMetric, UndefinedOptionFlag, MagickFalse },
1853 {
"PAE", PeakAbsoluteErrorMetric, UndefinedOptionFlag, MagickFalse },
1854 {
"PHASH", PerceptualHashErrorMetric, UndefinedOptionFlag, MagickFalse },
1855 {
"PSNR", PeakSignalToNoiseRatioErrorMetric, UndefinedOptionFlag, MagickFalse },
1856 {
"RMSE", RootMeanSquaredErrorMetric, UndefinedOptionFlag, MagickFalse },
1857 {
"SSIM", StructuralSimilarityErrorMetric, UndefinedOptionFlag, MagickFalse },
1858 { (
char *) NULL, UndefinedErrorMetric, UndefinedOptionFlag, MagickFalse }
1862 {
"Undefined", UndefinedMethod, UndefinedOptionFlag, MagickTrue },
1863 {
"FillToBorder", FillToBorderMethod, UndefinedOptionFlag, MagickFalse },
1864 {
"Floodfill", FloodfillMethod, UndefinedOptionFlag, MagickFalse },
1865 {
"Point", PointMethod, UndefinedOptionFlag, MagickFalse },
1866 {
"Replace", ReplaceMethod, UndefinedOptionFlag, MagickFalse },
1867 {
"Reset", ResetMethod, UndefinedOptionFlag, MagickFalse },
1868 { (
char *) NULL, UndefinedMethod, UndefinedOptionFlag, MagickFalse }
1872 {
"Undefined", UndefinedMode, UndefinedOptionFlag, MagickTrue },
1873 {
"Concatenate", ConcatenateMode, UndefinedOptionFlag, MagickFalse },
1874 {
"Frame", FrameMode, UndefinedOptionFlag, MagickFalse },
1875 {
"Unframe", UnframeMode, UndefinedOptionFlag, MagickFalse },
1876 { (
char *) NULL, UndefinedMode, UndefinedOptionFlag, MagickFalse }
1878 MorphologyOptions[] =
1880 {
"Undefined", UndefinedMorphology, UndefinedOptionFlag, MagickTrue },
1881 {
"Correlate", CorrelateMorphology, UndefinedOptionFlag, MagickFalse },
1882 {
"Convolve", ConvolveMorphology, UndefinedOptionFlag, MagickFalse },
1883 {
"Dilate", DilateMorphology, UndefinedOptionFlag, MagickFalse },
1884 {
"Erode", ErodeMorphology, UndefinedOptionFlag, MagickFalse },
1885 {
"Close", CloseMorphology, UndefinedOptionFlag, MagickFalse },
1886 {
"Open", OpenMorphology, UndefinedOptionFlag, MagickFalse },
1887 {
"DilateIntensity", DilateIntensityMorphology, UndefinedOptionFlag, MagickFalse },
1888 {
"ErodeIntensity", ErodeIntensityMorphology, UndefinedOptionFlag, MagickFalse },
1889 {
"CloseIntensity", CloseIntensityMorphology, UndefinedOptionFlag, MagickFalse },
1890 {
"OpenIntensity", OpenIntensityMorphology, UndefinedOptionFlag, MagickFalse },
1891 {
"DilateI", DilateIntensityMorphology, UndefinedOptionFlag, MagickFalse },
1892 {
"ErodeI", ErodeIntensityMorphology, UndefinedOptionFlag, MagickFalse },
1893 {
"CloseI", CloseIntensityMorphology, UndefinedOptionFlag, MagickFalse },
1894 {
"OpenI", OpenIntensityMorphology, UndefinedOptionFlag, MagickFalse },
1895 {
"Smooth", SmoothMorphology, UndefinedOptionFlag, MagickFalse },
1896 {
"EdgeOut", EdgeOutMorphology, UndefinedOptionFlag, MagickFalse },
1897 {
"EdgeIn", EdgeInMorphology, UndefinedOptionFlag, MagickFalse },
1898 {
"Edge", EdgeMorphology, UndefinedOptionFlag, MagickFalse },
1899 {
"TopHat", TopHatMorphology, UndefinedOptionFlag, MagickFalse },
1900 {
"BottomHat", BottomHatMorphology, UndefinedOptionFlag, MagickFalse },
1901 {
"Hmt", HitAndMissMorphology, UndefinedOptionFlag, MagickFalse },
1902 {
"HitNMiss", HitAndMissMorphology, UndefinedOptionFlag, MagickFalse },
1903 {
"HitAndMiss", HitAndMissMorphology, UndefinedOptionFlag, MagickFalse },
1904 {
"Thinning", ThinningMorphology, UndefinedOptionFlag, MagickFalse },
1905 {
"Thicken", ThickenMorphology, UndefinedOptionFlag, MagickFalse },
1906 {
"Distance", DistanceMorphology, UndefinedOptionFlag, MagickFalse },
1907 {
"IterativeDistance", IterativeDistanceMorphology, UndefinedOptionFlag, MagickFalse },
1908 {
"Voronoi", VoronoiMorphology, UndefinedOptionFlag, MagickTrue },
1909 { (
char *) NULL, UndefinedMorphology, UndefinedOptionFlag, MagickFalse }
1913 {
"Undefined", UndefinedNoise, UndefinedOptionFlag, MagickTrue },
1914 {
"Gaussian", GaussianNoise, UndefinedOptionFlag, MagickFalse },
1915 {
"Impulse", ImpulseNoise, UndefinedOptionFlag, MagickFalse },
1916 {
"Laplacian", LaplacianNoise, UndefinedOptionFlag, MagickFalse },
1917 {
"Multiplicative", MultiplicativeGaussianNoise, UndefinedOptionFlag, MagickFalse },
1918 {
"Poisson", PoissonNoise, UndefinedOptionFlag, MagickFalse },
1919 {
"Random", RandomNoise, UndefinedOptionFlag, MagickFalse },
1920 {
"Uniform", UniformNoise, UndefinedOptionFlag, MagickFalse },
1921 { (
char *) NULL, UndefinedNoise, UndefinedOptionFlag, MagickFalse }
1923 OrientationOptions[] =
1925 {
"Undefined", UndefinedOrientation, UndefinedOptionFlag, MagickTrue },
1926 {
"TopLeft", TopLeftOrientation, UndefinedOptionFlag, MagickFalse },
1927 {
"TopRight", TopRightOrientation, UndefinedOptionFlag, MagickFalse },
1928 {
"BottomRight", BottomRightOrientation, UndefinedOptionFlag, MagickFalse },
1929 {
"BottomLeft", BottomLeftOrientation, UndefinedOptionFlag, MagickFalse },
1930 {
"LeftTop", LeftTopOrientation, UndefinedOptionFlag, MagickFalse },
1931 {
"RightTop", RightTopOrientation, UndefinedOptionFlag, MagickFalse },
1932 {
"RightBottom", RightBottomOrientation, UndefinedOptionFlag, MagickFalse },
1933 {
"LeftBottom", LeftBottomOrientation, UndefinedOptionFlag, MagickFalse },
1934 { (
char *) NULL, UndefinedOrientation, UndefinedOptionFlag, MagickFalse }
1936 PixelChannelOptions[] =
1938 {
"Undefined", UndefinedPixelChannel, UndefinedOptionFlag, MagickFalse },
1939 {
"A", AlphaPixelChannel, UndefinedOptionFlag, MagickFalse },
1940 {
"Alpha", AlphaPixelChannel, UndefinedOptionFlag, MagickFalse },
1941 {
"B", BluePixelChannel, UndefinedOptionFlag, MagickFalse },
1942 {
"Bk", BlackPixelChannel, UndefinedOptionFlag, MagickFalse },
1943 {
"Black", BlackPixelChannel, UndefinedOptionFlag, MagickFalse },
1944 {
"Blue", BluePixelChannel, UndefinedOptionFlag, MagickFalse },
1945 {
"Cb", CbPixelChannel, UndefinedOptionFlag, MagickFalse },
1946 {
"Composite", CompositePixelChannel, UndefinedOptionFlag, MagickFalse },
1947 {
"CompositeMask", CompositeMaskPixelChannel, UndefinedOptionFlag, MagickFalse },
1948 {
"C", CyanPixelChannel, UndefinedOptionFlag, MagickFalse },
1949 {
"Cr", CrPixelChannel, UndefinedOptionFlag, MagickFalse },
1950 {
"Cyan", CyanPixelChannel, UndefinedOptionFlag, MagickFalse },
1951 {
"Gray", GrayPixelChannel, UndefinedOptionFlag, MagickFalse },
1952 {
"G", GreenPixelChannel, UndefinedOptionFlag, MagickFalse },
1953 {
"Green", GreenPixelChannel, UndefinedOptionFlag, MagickFalse },
1954 {
"Index", IndexPixelChannel, UndefinedOptionFlag, MagickFalse },
1955 {
"Intensity", IntensityPixelChannel, UndefinedOptionFlag, MagickFalse },
1956 {
"K", BlackPixelChannel, UndefinedOptionFlag, MagickFalse },
1957 {
"M", MagentaPixelChannel, UndefinedOptionFlag, MagickFalse },
1958 {
"Magenta", MagentaPixelChannel, UndefinedOptionFlag, MagickFalse },
1959 {
"Meta", MetaPixelChannels, UndefinedOptionFlag, MagickFalse },
1960 {
"Meta0", MetaPixelChannels+0, UndefinedOptionFlag, MagickFalse },
1961 {
"Meta1", MetaPixelChannels+1, UndefinedOptionFlag, MagickFalse },
1962 {
"Meta2", MetaPixelChannels+2, UndefinedOptionFlag, MagickFalse },
1963 {
"Meta3", MetaPixelChannels+3, UndefinedOptionFlag, MagickFalse },
1964 {
"Meta4", MetaPixelChannels+4, UndefinedOptionFlag, MagickFalse },
1965 {
"Meta5", MetaPixelChannels+5, UndefinedOptionFlag, MagickFalse },
1966 {
"Meta6", MetaPixelChannels+6, UndefinedOptionFlag, MagickFalse },
1967 {
"Meta7", MetaPixelChannels+7, UndefinedOptionFlag, MagickFalse },
1968 {
"Meta8", MetaPixelChannels+8, UndefinedOptionFlag, MagickFalse },
1969 {
"Meta9", MetaPixelChannels+9, UndefinedOptionFlag, MagickFalse },
1970 {
"Meta10", MetaPixelChannels+10, UndefinedOptionFlag, MagickFalse },
1971 {
"Meta11", MetaPixelChannels+11, UndefinedOptionFlag, MagickFalse },
1972 {
"Meta12", MetaPixelChannels+12, UndefinedOptionFlag, MagickFalse },
1973 {
"Meta13", MetaPixelChannels+13, UndefinedOptionFlag, MagickFalse },
1974 {
"Meta14", MetaPixelChannels+14, UndefinedOptionFlag, MagickFalse },
1975 {
"Meta15", MetaPixelChannels+15, UndefinedOptionFlag, MagickFalse },
1976 {
"Meta16", MetaPixelChannels+16, UndefinedOptionFlag, MagickFalse },
1977 {
"Meta17", MetaPixelChannels+17, UndefinedOptionFlag, MagickFalse },
1978 {
"Meta18", MetaPixelChannels+18, UndefinedOptionFlag, MagickFalse },
1979 {
"Meta19", MetaPixelChannels+19, UndefinedOptionFlag, MagickFalse },
1980 {
"Meta20", MetaPixelChannels+20, UndefinedOptionFlag, MagickFalse },
1981 {
"Meta21", MetaPixelChannels+21, UndefinedOptionFlag, MagickFalse },
1982 {
"Meta22", MetaPixelChannels+22, UndefinedOptionFlag, MagickFalse },
1983 {
"Meta23", MetaPixelChannels+23, UndefinedOptionFlag, MagickFalse },
1984 {
"Meta24", MetaPixelChannels+24, UndefinedOptionFlag, MagickFalse },
1985 {
"Meta25", MetaPixelChannels+25, UndefinedOptionFlag, MagickFalse },
1986 {
"Meta26", MetaPixelChannels+26, UndefinedOptionFlag, MagickFalse },
1987 {
"Meta27", MetaPixelChannels+27, UndefinedOptionFlag, MagickFalse },
1988 {
"Meta28", MetaPixelChannels+28, UndefinedOptionFlag, MagickFalse },
1989 {
"Meta29", MetaPixelChannels+29, UndefinedOptionFlag, MagickFalse },
1990 {
"Meta30", MetaPixelChannels+30, UndefinedOptionFlag, MagickFalse },
1991 {
"Meta31", MetaPixelChannels+31, UndefinedOptionFlag, MagickFalse },
1992 {
"Meta32", MetaPixelChannels+32, UndefinedOptionFlag, MagickFalse },
1993 {
"Meta33", MetaPixelChannels+33, UndefinedOptionFlag, MagickFalse },
1994 {
"Meta34", MetaPixelChannels+34, UndefinedOptionFlag, MagickFalse },
1995 {
"Meta35", MetaPixelChannels+35, UndefinedOptionFlag, MagickFalse },
1996 {
"Meta36", MetaPixelChannels+36, UndefinedOptionFlag, MagickFalse },
1997 {
"Meta37", MetaPixelChannels+37, UndefinedOptionFlag, MagickFalse },
1998 {
"Meta38", MetaPixelChannels+38, UndefinedOptionFlag, MagickFalse },
1999 {
"Meta39", MetaPixelChannels+39, UndefinedOptionFlag, MagickFalse },
2000 {
"Meta40", MetaPixelChannels+40, UndefinedOptionFlag, MagickFalse },
2001 {
"Meta41", MetaPixelChannels+41, UndefinedOptionFlag, MagickFalse },
2002 {
"Meta42", MetaPixelChannels+42, UndefinedOptionFlag, MagickFalse },
2003 {
"Meta43", MetaPixelChannels+43, UndefinedOptionFlag, MagickFalse },
2004 {
"Meta44", MetaPixelChannels+44, UndefinedOptionFlag, MagickFalse },
2005 {
"Meta45", MetaPixelChannels+45, UndefinedOptionFlag, MagickFalse },
2006 {
"Meta46", MetaPixelChannels+46, UndefinedOptionFlag, MagickFalse },
2007 {
"Meta47", MetaPixelChannels+47, UndefinedOptionFlag, MagickFalse },
2008 {
"Meta48", MetaPixelChannels+48, UndefinedOptionFlag, MagickFalse },
2009 {
"Meta49", MetaPixelChannels+49, UndefinedOptionFlag, MagickFalse },
2010 {
"Meta50", MetaPixelChannels+50, UndefinedOptionFlag, MagickFalse },
2011 {
"Meta51", MetaPixelChannels+51, UndefinedOptionFlag, MagickFalse },
2012 {
"Meta52", MetaPixelChannels+52, UndefinedOptionFlag, MagickFalse },
2013 {
"Meta53", MetaPixelChannels+53, UndefinedOptionFlag, MagickFalse },
2014 {
"Meta54", MetaPixelChannels+54, UndefinedOptionFlag, MagickFalse },
2015 {
"O", AlphaPixelChannel, UndefinedOptionFlag, MagickFalse },
2016 {
"R", RedPixelChannel, UndefinedOptionFlag, MagickFalse },
2017 {
"ReadMask", ReadMaskPixelChannel, UndefinedOptionFlag, MagickFalse },
2018 {
"Red", RedPixelChannel, UndefinedOptionFlag, MagickFalse },
2019 {
"Sync", SyncPixelChannel, UndefinedOptionFlag, MagickFalse },
2020 {
"WriteMask", WriteMaskPixelChannel, UndefinedOptionFlag, MagickFalse },
2021 {
"Y", YellowPixelChannel, UndefinedOptionFlag, MagickFalse },
2022 {
"Yellow", YellowPixelChannel, UndefinedOptionFlag, MagickFalse },
2023 { (
char *) NULL, UndefinedPixelChannel, UndefinedOptionFlag, MagickFalse }
2025 PixelIntensityOptions[] =
2027 {
"Undefined", UndefinedPixelIntensityMethod, UndefinedOptionFlag, MagickTrue },
2028 {
"Average", AveragePixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2029 {
"Brightness", BrightnessPixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2030 {
"Lightness", LightnessPixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2031 {
"Mean", AveragePixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2032 {
"MS", MSPixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2033 {
"Rec601Luma", Rec601LumaPixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2034 {
"Rec601Luminance", Rec601LuminancePixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2035 {
"Rec709Luma", Rec709LumaPixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2036 {
"Rec709Luminance", Rec709LuminancePixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2037 {
"RMS", RMSPixelIntensityMethod, UndefinedOptionFlag, MagickFalse },
2038 { (
char *) NULL, UndefinedPixelIntensityMethod, UndefinedOptionFlag, MagickFalse }
2040 PixelMaskOptions[] =
2042 {
"Undefined", UndefinedPixelMask, UndefinedOptionFlag, MagickTrue },
2043 {
"R", ReadPixelMask, UndefinedOptionFlag, MagickFalse },
2044 {
"Read", ReadPixelMask, UndefinedOptionFlag, MagickFalse },
2045 {
"W", WritePixelMask, UndefinedOptionFlag, MagickFalse },
2046 {
"Write", WritePixelMask, UndefinedOptionFlag, MagickFalse },
2047 { (
char *) NULL, UndefinedPixelMask, UndefinedOptionFlag, MagickFalse }
2049 PixelTraitOptions[] =
2051 {
"Undefined", UndefinedPixelTrait, UndefinedOptionFlag, MagickTrue },
2052 {
"Blend", BlendPixelTrait, UndefinedOptionFlag, MagickFalse },
2053 {
"Copy", CopyPixelTrait, UndefinedOptionFlag, MagickFalse },
2054 {
"Update", UpdatePixelTrait, UndefinedOptionFlag, MagickFalse },
2055 { (
char *) NULL, UndefinedPixelTrait, UndefinedOptionFlag, MagickFalse }
2057 PolicyDomainOptions[] =
2059 {
"Undefined", UndefinedPolicyDomain, UndefinedOptionFlag, MagickTrue },
2060 {
"Cache", CachePolicyDomain, UndefinedOptionFlag, MagickFalse },
2061 {
"Coder", CoderPolicyDomain, UndefinedOptionFlag, MagickFalse },
2062 {
"Delegate", DelegatePolicyDomain, UndefinedOptionFlag, MagickFalse },
2063 {
"Filter", FilterPolicyDomain, UndefinedOptionFlag, MagickFalse },
2064 {
"Module", ModulePolicyDomain, UndefinedOptionFlag, MagickFalse },
2065 {
"Path", PathPolicyDomain, UndefinedOptionFlag, MagickFalse },
2066 {
"Resource", ResourcePolicyDomain, UndefinedOptionFlag, MagickFalse },
2067 {
"System", SystemPolicyDomain, UndefinedOptionFlag, MagickFalse },
2068 { (
char *) NULL, UndefinedPolicyDomain, UndefinedOptionFlag, MagickFalse }
2070 PolicyRightsOptions[] =
2072 {
"Undefined", UndefinedPolicyRights, UndefinedOptionFlag, MagickTrue },
2073 {
"All", AllPolicyRights, UndefinedOptionFlag, MagickFalse },
2074 {
"Execute", ExecutePolicyRights, UndefinedOptionFlag, MagickFalse },
2075 {
"None", NoPolicyRights, UndefinedOptionFlag, MagickFalse },
2076 {
"Read", ReadPolicyRights, UndefinedOptionFlag, MagickFalse },
2077 {
"Write", WritePolicyRights, UndefinedOptionFlag, MagickFalse },
2078 { (
char *) NULL, UndefinedPolicyRights, UndefinedOptionFlag, MagickFalse }
2082 {
"Undefined", UndefinedPreview, UndefinedOptionFlag, MagickTrue },
2083 {
"AddNoise", AddNoisePreview, UndefinedOptionFlag, MagickFalse },
2084 {
"Blur", BlurPreview, UndefinedOptionFlag, MagickFalse },
2085 {
"Brightness", BrightnessPreview, UndefinedOptionFlag, MagickFalse },
2086 {
"Charcoal", CharcoalDrawingPreview, UndefinedOptionFlag, MagickFalse },
2087 {
"Despeckle", DespecklePreview, UndefinedOptionFlag, MagickFalse },
2088 {
"Dull", DullPreview, UndefinedOptionFlag, MagickFalse },
2089 {
"EdgeDetect", EdgeDetectPreview, UndefinedOptionFlag, MagickFalse },
2090 {
"Gamma", GammaPreview, UndefinedOptionFlag, MagickFalse },
2091 {
"Grayscale", GrayscalePreview, UndefinedOptionFlag, MagickFalse },
2092 {
"Hue", HuePreview, UndefinedOptionFlag, MagickFalse },
2093 {
"Implode", ImplodePreview, UndefinedOptionFlag, MagickFalse },
2094 {
"JPEG", JPEGPreview, UndefinedOptionFlag, MagickFalse },
2095 {
"OilPaint", OilPaintPreview, UndefinedOptionFlag, MagickFalse },
2096 {
"Quantize", QuantizePreview, UndefinedOptionFlag, MagickFalse },
2097 {
"Raise", RaisePreview, UndefinedOptionFlag, MagickFalse },
2098 {
"ReduceNoise", ReduceNoisePreview, UndefinedOptionFlag, MagickFalse },
2099 {
"Roll", RollPreview, UndefinedOptionFlag, MagickFalse },
2100 {
"Rotate", RotatePreview, UndefinedOptionFlag, MagickFalse },
2101 {
"Saturation", SaturationPreview, UndefinedOptionFlag, MagickFalse },
2102 {
"Segment", SegmentPreview, UndefinedOptionFlag, MagickFalse },
2103 {
"Shade", ShadePreview, UndefinedOptionFlag, MagickFalse },
2104 {
"Sharpen", SharpenPreview, UndefinedOptionFlag, MagickFalse },
2105 {
"Shear", ShearPreview, UndefinedOptionFlag, MagickFalse },
2106 {
"Solarize", SolarizePreview, UndefinedOptionFlag, MagickFalse },
2107 {
"Spiff", SpiffPreview, UndefinedOptionFlag, MagickFalse },
2108 {
"Spread", SpreadPreview, UndefinedOptionFlag, MagickFalse },
2109 {
"Swirl", SwirlPreview, UndefinedOptionFlag, MagickFalse },
2110 {
"Threshold", ThresholdPreview, UndefinedOptionFlag, MagickFalse },
2111 {
"Wave", WavePreview, UndefinedOptionFlag, MagickFalse },
2112 { (
char *) NULL, UndefinedPreview, UndefinedOptionFlag, MagickFalse }
2114 PrimitiveOptions[] =
2116 {
"Undefined", UndefinedPrimitive, UndefinedOptionFlag, MagickTrue },
2117 {
"Alpha", AlphaPrimitive, UndefinedOptionFlag, MagickFalse },
2118 {
"Arc", ArcPrimitive, UndefinedOptionFlag, MagickFalse },
2119 {
"Bezier", BezierPrimitive, UndefinedOptionFlag, MagickFalse },
2120 {
"Circle", CirclePrimitive, UndefinedOptionFlag, MagickFalse },
2121 {
"Color", ColorPrimitive, UndefinedOptionFlag, MagickFalse },
2122 {
"Ellipse", EllipsePrimitive, UndefinedOptionFlag, MagickFalse },
2123 {
"Image", ImagePrimitive, UndefinedOptionFlag, MagickFalse },
2124 {
"Line", LinePrimitive, UndefinedOptionFlag, MagickFalse },
2125 {
"Matte", AlphaPrimitive, UndefinedOptionFlag, MagickFalse },
2126 {
"Path", PathPrimitive, UndefinedOptionFlag, MagickFalse },
2127 {
"Point", PointPrimitive, UndefinedOptionFlag, MagickFalse },
2128 {
"Polygon", PolygonPrimitive, UndefinedOptionFlag, MagickFalse },
2129 {
"Polyline", PolylinePrimitive, UndefinedOptionFlag, MagickFalse },
2130 {
"Rectangle", RectanglePrimitive, UndefinedOptionFlag, MagickFalse },
2131 {
"RoundRectangle", RoundRectanglePrimitive, UndefinedOptionFlag, MagickFalse },
2132 {
"Text", TextPrimitive, UndefinedOptionFlag, MagickFalse },
2133 { (
char *) NULL, UndefinedPrimitive, UndefinedOptionFlag, MagickFalse }
2135 QuantumFormatOptions[] =
2137 {
"Undefined", UndefinedQuantumFormat, UndefinedOptionFlag, MagickTrue },
2138 {
"FloatingPoint", FloatingPointQuantumFormat, UndefinedOptionFlag, MagickFalse },
2139 {
"Signed", SignedQuantumFormat, UndefinedOptionFlag, MagickFalse },
2140 {
"Unsigned", UnsignedQuantumFormat, UndefinedOptionFlag, MagickFalse },
2141 { (
char *) NULL, FloatingPointQuantumFormat, UndefinedOptionFlag, MagickFalse }
2143 ResolutionOptions[] =
2145 {
"Undefined", UndefinedResolution, UndefinedOptionFlag, MagickTrue },
2146 {
"PixelsPerInch", PixelsPerInchResolution, UndefinedOptionFlag, MagickFalse },
2147 {
"PixelsPerCentimeter", PixelsPerCentimeterResolution, UndefinedOptionFlag, MagickFalse },
2148 {
"1", UndefinedResolution, UndefinedOptionFlag, MagickFalse },
2149 {
"2", PixelsPerInchResolution, UndefinedOptionFlag, MagickFalse },
2150 {
"3", PixelsPerCentimeterResolution, UndefinedOptionFlag, MagickFalse },
2151 { (
char *) NULL, UndefinedResolution, UndefinedOptionFlag, MagickFalse }
2155 {
"Undefined", UndefinedResource, UndefinedOptionFlag, MagickTrue },
2156 {
"Area", AreaResource, UndefinedOptionFlag, MagickFalse },
2157 {
"Disk", DiskResource, UndefinedOptionFlag, MagickFalse },
2158 {
"File", FileResource, UndefinedOptionFlag, MagickFalse },
2159 {
"Height", HeightResource, UndefinedOptionFlag, MagickFalse },
2160 {
"Map", MapResource, UndefinedOptionFlag, MagickFalse },
2161 {
"Memory", MemoryResource, UndefinedOptionFlag, MagickFalse },
2162 {
"Thread", ThreadResource, UndefinedOptionFlag, MagickFalse },
2163 {
"Throttle", ThrottleResource, UndefinedOptionFlag, MagickFalse },
2164 {
"Time", TimeResource, UndefinedOptionFlag, MagickFalse },
2165 {
"Width", WidthResource, UndefinedOptionFlag, MagickFalse },
2166 {
"ListLength", ListLengthResource, UndefinedOptionFlag, MagickFalse },
2167 { (
char *) NULL, UndefinedResource, UndefinedOptionFlag, MagickFalse }
2169 SparseColorOptions[] =
2171 {
"Undefined", UndefinedDistortion, UndefinedOptionFlag, MagickTrue },
2172 {
"Barycentric", BarycentricColorInterpolate, UndefinedOptionFlag, MagickFalse },
2173 {
"Bilinear", BilinearColorInterpolate, UndefinedOptionFlag, MagickFalse },
2174 {
"Inverse", InverseColorInterpolate, UndefinedOptionFlag, MagickFalse },
2175 {
"Shepards", ShepardsColorInterpolate, UndefinedOptionFlag, MagickFalse },
2176 {
"Voronoi", VoronoiColorInterpolate, UndefinedOptionFlag, MagickFalse },
2177 {
"Manhattan", ManhattanColorInterpolate, UndefinedOptionFlag, MagickFalse },
2178 { (
char *) NULL, UndefinedResource, UndefinedOptionFlag, MagickFalse }
2180 StatisticOptions[] =
2182 {
"Undefined", UndefinedStatistic, UndefinedOptionFlag, MagickTrue },
2183 {
"Contrast", ContrastStatistic, UndefinedOptionFlag, MagickFalse },
2184 {
"Gradient", GradientStatistic, UndefinedOptionFlag, MagickFalse },
2185 {
"Maximum", MaximumStatistic, UndefinedOptionFlag, MagickFalse },
2186 {
"Mean", MeanStatistic, UndefinedOptionFlag, MagickFalse },
2187 {
"Median", MedianStatistic, UndefinedOptionFlag, MagickFalse },
2188 {
"Minimum", MinimumStatistic, UndefinedOptionFlag, MagickFalse },
2189 {
"Mode", ModeStatistic, UndefinedOptionFlag, MagickFalse },
2190 {
"NonPeak", NonpeakStatistic, UndefinedOptionFlag, MagickFalse },
2191 {
"RootMeanSquare", RootMeanSquareStatistic, UndefinedOptionFlag, MagickFalse },
2192 {
"RMS", RootMeanSquareStatistic, UndefinedOptionFlag, MagickFalse },
2193 {
"StandardDeviation", StandardDeviationStatistic, UndefinedOptionFlag, MagickFalse },
2194 { (
char *) NULL, UndefinedMethod, UndefinedOptionFlag, MagickFalse }
2198 {
"Undefined", UndefinedPixel, UndefinedOptionFlag, MagickTrue },
2199 {
"Char", CharPixel, UndefinedOptionFlag, MagickFalse },
2200 {
"Double", DoublePixel, UndefinedOptionFlag, MagickFalse },
2201 {
"Float", FloatPixel, UndefinedOptionFlag, MagickFalse },
2202 {
"Long", LongPixel, UndefinedOptionFlag, MagickFalse },
2203 {
"LongLong", LongLongPixel, UndefinedOptionFlag, MagickFalse },
2204 {
"Quantum", QuantumPixel, UndefinedOptionFlag, MagickFalse },
2205 {
"Short", ShortPixel, UndefinedOptionFlag, MagickFalse },
2206 { (
char *) NULL, UndefinedResource, UndefinedOptionFlag, MagickFalse }
2210 {
"Undefined", UndefinedStretch, UndefinedOptionFlag, MagickTrue },
2211 {
"Any", AnyStretch, UndefinedOptionFlag, MagickFalse },
2212 {
"Condensed", CondensedStretch, UndefinedOptionFlag, MagickFalse },
2213 {
"Expanded", ExpandedStretch, UndefinedOptionFlag, MagickFalse },
2214 {
"ExtraCondensed", ExtraCondensedStretch, UndefinedOptionFlag, MagickFalse },
2215 {
"ExtraExpanded", ExtraExpandedStretch, UndefinedOptionFlag, MagickFalse },
2216 {
"Normal", NormalStretch, UndefinedOptionFlag, MagickFalse },
2217 {
"SemiCondensed", SemiCondensedStretch, UndefinedOptionFlag, MagickFalse },
2218 {
"SemiExpanded", SemiExpandedStretch, UndefinedOptionFlag, MagickFalse },
2219 {
"UltraCondensed", UltraCondensedStretch, UndefinedOptionFlag, MagickFalse },
2220 {
"UltraExpanded", UltraExpandedStretch, UndefinedOptionFlag, MagickFalse },
2221 { (
char *) NULL, UndefinedStretch, UndefinedOptionFlag, MagickFalse }
2225 {
"Undefined", UndefinedStyle, UndefinedOptionFlag, MagickTrue },
2226 {
"Any", AnyStyle, UndefinedOptionFlag, MagickFalse },
2227 {
"Italic", ItalicStyle, UndefinedOptionFlag, MagickFalse },
2228 {
"Normal", NormalStyle, UndefinedOptionFlag, MagickFalse },
2229 {
"Oblique", ObliqueStyle, UndefinedOptionFlag, MagickFalse },
2230 { (
char *) NULL, UndefinedStyle, UndefinedOptionFlag, MagickFalse }
2234 {
"animate", 0, UndefinedOptionFlag, MagickFalse },
2235 {
"compare", 0, UndefinedOptionFlag, MagickFalse },
2236 {
"composite", 0, UndefinedOptionFlag, MagickFalse },
2237 {
"conjure", 0, UndefinedOptionFlag, MagickFalse },
2238 {
"convert", 0, UndefinedOptionFlag, MagickFalse },
2239 {
"display", 0, UndefinedOptionFlag, MagickFalse },
2240 {
"identify", 0, UndefinedOptionFlag, MagickFalse },
2241 {
"import", 0, UndefinedOptionFlag, MagickFalse },
2242 {
"mogrify", 0, UndefinedOptionFlag, MagickFalse },
2243 {
"montage", 0, UndefinedOptionFlag, MagickFalse },
2244 {
"stream", 0, UndefinedOptionFlag, MagickFalse },
2245 { (
char *) NULL, 0, UndefinedOptionFlag, MagickFalse }
2249 {
"Undefined", UndefinedType, UndefinedOptionFlag, MagickTrue },
2250 {
"Bilevel", BilevelType, UndefinedOptionFlag, MagickFalse },
2251 {
"ColorSeparation", ColorSeparationType, UndefinedOptionFlag, MagickFalse },
2252 {
"ColorSeparationAlpha", ColorSeparationAlphaType, UndefinedOptionFlag, MagickFalse },
2253 {
"ColorSeparationMatte", ColorSeparationAlphaType, UndefinedOptionFlag, MagickFalse },
2254 {
"Grayscale", GrayscaleType, UndefinedOptionFlag, MagickFalse },
2255 {
"GrayscaleAlpha", GrayscaleAlphaType, UndefinedOptionFlag, MagickFalse },
2256 {
"GrayscaleMatte", GrayscaleAlphaType, UndefinedOptionFlag, MagickFalse },
2257 {
"Optimize", OptimizeType, UndefinedOptionFlag, MagickFalse },
2258 {
"Palette", PaletteType, UndefinedOptionFlag, MagickFalse },
2259 {
"PaletteBilevelAlpha", PaletteBilevelAlphaType, UndefinedOptionFlag, MagickFalse },
2260 {
"PaletteBilevelMatte", PaletteBilevelAlphaType, UndefinedOptionFlag, MagickFalse },
2261 {
"PaletteAlpha", PaletteAlphaType, UndefinedOptionFlag, MagickFalse },
2262 {
"PaletteMatte", PaletteAlphaType, UndefinedOptionFlag, MagickFalse },
2263 {
"TrueColorAlpha", TrueColorAlphaType, UndefinedOptionFlag, MagickFalse },
2264 {
"TrueColorMatte", TrueColorAlphaType, UndefinedOptionFlag, MagickFalse },
2265 {
"TrueColor", TrueColorType, UndefinedOptionFlag, MagickFalse },
2266 { (
char *) NULL, UndefinedType, UndefinedOptionFlag, MagickFalse }
2270 {
"Undefined", UndefinedValidate, UndefinedOptionFlag, MagickTrue },
2271 {
"All", AllValidate, UndefinedOptionFlag, MagickFalse },
2272 {
"Colorspace", ColorspaceValidate, UndefinedOptionFlag, MagickFalse },
2273 {
"Compare", CompareValidate, UndefinedOptionFlag, MagickFalse },
2274 {
"Composite", CompositeValidate, UndefinedOptionFlag, MagickFalse },
2275 {
"Convert", ConvertValidate, UndefinedOptionFlag, MagickFalse },
2276 {
"FormatsDisk", FormatsDiskValidate, UndefinedOptionFlag, MagickFalse },
2277 {
"FormatsMap", FormatsMapValidate, UndefinedOptionFlag, MagickFalse },
2278 {
"FormatsMemory", FormatsMemoryValidate, UndefinedOptionFlag, MagickFalse },
2279 {
"Identify", IdentifyValidate, UndefinedOptionFlag, MagickFalse },
2280 {
"ImportExport", ImportExportValidate, UndefinedOptionFlag, MagickFalse },
2281 {
"Magick", MagickValidate, UndefinedOptionFlag, MagickFalse },
2282 {
"Montage", MontageValidate, UndefinedOptionFlag, MagickFalse },
2283 {
"Stream", StreamValidate, UndefinedOptionFlag, MagickFalse },
2284 {
"None", NoValidate, UndefinedOptionFlag, MagickFalse },
2285 { (
char *) NULL, UndefinedValidate, UndefinedOptionFlag, MagickFalse }
2287 VirtualPixelOptions[] =
2289 {
"Undefined", UndefinedVirtualPixelMethod, UndefinedOptionFlag, MagickTrue },
2290 {
"Background", BackgroundVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2291 {
"Black", BlackVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2292 {
"Constant", BackgroundVirtualPixelMethod, DeprecateOptionFlag, MagickTrue },
2293 {
"CheckerTile", CheckerTileVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2294 {
"Dither", DitherVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2295 {
"Edge", EdgeVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2296 {
"Gray", GrayVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2297 {
"HorizontalTile", HorizontalTileVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2298 {
"HorizontalTileEdge", HorizontalTileEdgeVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2299 {
"Mirror", MirrorVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2300 {
"None", TransparentVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2301 {
"Random", RandomVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2302 {
"Tile", TileVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2303 {
"Transparent", TransparentVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2304 {
"VerticalTile", VerticalTileVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2305 {
"VerticalTileEdge", VerticalTileEdgeVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2306 {
"White", WhiteVirtualPixelMethod, UndefinedOptionFlag, MagickFalse },
2307 { (
char *) NULL, UndefinedVirtualPixelMethod, UndefinedOptionFlag, MagickFalse }
2311 {
"Undefined", 0L, UndefinedOptionFlag, MagickTrue },
2312 {
"Thin", 100L, UndefinedOptionFlag, MagickFalse },
2313 {
"ExtraLight", 200L, UndefinedOptionFlag, MagickFalse },
2314 {
"UltraLight", 200L, UndefinedOptionFlag, MagickFalse },
2315 {
"Light", 300L, DeprecateOptionFlag, MagickTrue },
2316 {
"Normal", 400L, UndefinedOptionFlag, MagickFalse },
2317 {
"Regular", 400L, UndefinedOptionFlag, MagickFalse },
2318 {
"Medium", 500L, UndefinedOptionFlag, MagickFalse },
2319 {
"DemiBold", 600L, UndefinedOptionFlag, MagickFalse },
2320 {
"SemiBold", 600L, UndefinedOptionFlag, MagickFalse },
2321 {
"Bold", 700L, UndefinedOptionFlag, MagickFalse },
2322 {
"ExtraBold", 800L, UndefinedOptionFlag, MagickFalse },
2323 {
"UltraBold", 800L, UndefinedOptionFlag, MagickFalse },
2324 {
"Heavy", 900L, UndefinedOptionFlag, MagickFalse },
2325 {
"Black", 900L, UndefinedOptionFlag, MagickFalse },
2326 { (
char *) NULL, 0L, UndefinedOptionFlag, MagickFalse }
2328 WordBreakOptions[] =
2330 {
"Undefined", UndefinedWordBreakType, UndefinedOptionFlag, MagickTrue },
2331 {
"Normal", NormalWordBreakType, UndefinedOptionFlag, MagickFalse },
2332 {
"BreakWord", BreakWordBreakType, UndefinedOptionFlag, MagickFalse },
2333 { (
char *) NULL, UndefinedWordBreakType, UndefinedOptionFlag, MagickFalse }
2361MagickExport MagickBooleanType CloneImageOptions(
ImageInfo *image_info,
2364 assert(image_info != (
ImageInfo *) NULL);
2365 assert(image_info->signature == MagickCoreSignature);
2366 assert(clone_info != (
const ImageInfo *) NULL);
2367 assert(clone_info->signature == MagickCoreSignature);
2368 if (IsEventLogging() != MagickFalse)
2369 (void) LogMagickEvent(TraceEvent,GetMagickModule(),
"%s",
2370 image_info->filename);
2371 if (clone_info->options != (
void *) NULL)
2373 if (image_info->options != (
void *) NULL)
2374 DestroyImageOptions(image_info);
2375 image_info->options=CloneSplayTree((
SplayTreeInfo *) clone_info->options,
2376 (
void *(*)(
void *)) ConstantString,(
void *(*)(
void *)) ConstantString);
2408MagickExport MagickBooleanType DefineImageOption(
ImageInfo *image_info,
2412 key[MagickPathExtent],
2413 value[MagickPathExtent];
2418 assert(image_info != (
ImageInfo *) NULL);
2419 assert(option != (
const char *) NULL);
2420 (void) CopyMagickString(key,option,MagickPathExtent);
2421 for (p=key; *p !=
'\0'; p++)
2426 (void) CopyMagickString(value,p+1,MagickPathExtent);
2428 return(SetImageOption(image_info,key,value));
2458MagickExport MagickBooleanType DeleteImageOption(
ImageInfo *image_info,
2461 assert(image_info != (
ImageInfo *) NULL);
2462 assert(image_info->signature == MagickCoreSignature);
2463 if (IsEventLogging() != MagickFalse)
2464 (void) LogMagickEvent(TraceEvent,GetMagickModule(),
"%s",
2465 image_info->filename);
2466 if (image_info->options == (
void *) NULL)
2467 return(MagickFalse);
2468 return(DeleteNodeFromSplayTree((
SplayTreeInfo *) image_info->options,option));
2494MagickExport
void DestroyImageOptions(
ImageInfo *image_info)
2496 assert(image_info != (
ImageInfo *) NULL);
2497 assert(image_info->signature == MagickCoreSignature);
2498 if (IsEventLogging() != MagickFalse)
2499 (void) LogMagickEvent(TraceEvent,GetMagickModule(),
"%s",
2500 image_info->filename);
2501 if (image_info->options != (
void *) NULL)
2502 image_info->options=DestroySplayTree((
SplayTreeInfo *) image_info->options);
2533MagickExport
const char *GetImageOption(
const ImageInfo *image_info,
2536 assert(image_info != (
ImageInfo *) NULL);
2537 assert(image_info->signature == MagickCoreSignature);
2538 if (IsEventLogging() != MagickFalse)
2539 (void) LogMagickEvent(TraceEvent,GetMagickModule(),
"%s",
2540 image_info->filename);
2541 if (image_info->options == (
void *) NULL)
2542 return((
const char *) NULL);
2543 return((
const char *) GetValueFromSplayTree((
SplayTreeInfo *)
2544 image_info->options,option));
2577static const OptionInfo *GetOptionInfo(
const CommandOption option)
2581 case MagickAlignOptions:
return(AlignOptions);
2582 case MagickAlphaChannelOptions:
return(AlphaChannelOptions);
2583 case MagickAutoThresholdOptions:
return(AutoThresholdOptions);
2584 case MagickBooleanOptions:
return(BooleanOptions);
2585 case MagickCacheOptions:
return(CacheOptions);
2586 case MagickChannelOptions:
return(ChannelOptions);
2587 case MagickClassOptions:
return(ClassOptions);
2588 case MagickCLIOptions:
return(CLIOptions);
2589 case MagickClipPathOptions:
return(ClipPathOptions);
2590 case MagickColorspaceOptions:
return(ColorspaceOptions);
2591 case MagickCommandOptions:
return(CommandOptions);
2592 case MagickComplianceOptions:
return(ComplianceOptions);
2593 case MagickComplexOptions:
return(ComplexOptions);
2594 case MagickComposeOptions:
return(ComposeOptions);
2595 case MagickCompressOptions:
return(CompressOptions);
2596 case MagickDataTypeOptions:
return(DataTypeOptions);
2597 case MagickDebugOptions:
return(LogEventOptions);
2598 case MagickDecorateOptions:
return(DecorateOptions);
2599 case MagickDirectionOptions:
return(DirectionOptions);
2600 case MagickDisposeOptions:
return(DisposeOptions);
2601 case MagickDistortOptions:
return(DistortOptions);
2602 case MagickDitherOptions:
return(DitherOptions);
2603 case MagickEndianOptions:
return(EndianOptions);
2604 case MagickEvaluateOptions:
return(EvaluateOptions);
2605 case MagickFillRuleOptions:
return(FillRuleOptions);
2606 case MagickFilterOptions:
return(FilterOptions);
2607 case MagickFunctionOptions:
return(FunctionOptions);
2608 case MagickGradientOptions:
return(GradientOptions);
2609 case MagickGravityOptions:
return(GravityOptions);
2610 case MagickIlluminantOptions:
return(IlluminantOptions);
2611 case MagickIntentOptions:
return(IntentOptions);
2612 case MagickInterlaceOptions:
return(InterlaceOptions);
2613 case MagickInterpolateOptions:
return(InterpolateOptions);
2614 case MagickKernelOptions:
return(KernelOptions);
2615 case MagickLayerOptions:
return(LayerOptions);
2616 case MagickLineCapOptions:
return(LineCapOptions);
2617 case MagickLineJoinOptions:
return(LineJoinOptions);
2618 case MagickListOptions:
return(ListOptions);
2619 case MagickLogEventOptions:
return(LogEventOptions);
2620 case MagickMetricOptions:
return(MetricOptions);
2621 case MagickMethodOptions:
return(MethodOptions);
2622 case MagickModeOptions:
return(ModeOptions);
2623 case MagickMorphologyOptions:
return(MorphologyOptions);
2624 case MagickNoiseOptions:
return(NoiseOptions);
2625 case MagickOrientationOptions:
return(OrientationOptions);
2626 case MagickPixelChannelOptions:
return(PixelChannelOptions);
2627 case MagickPixelIntensityOptions:
return(PixelIntensityOptions);
2628 case MagickPixelMaskOptions:
return(PixelMaskOptions);
2629 case MagickPixelTraitOptions:
return(PixelTraitOptions);
2630 case MagickPolicyDomainOptions:
return(PolicyDomainOptions);
2631 case MagickPolicyRightsOptions:
return(PolicyRightsOptions);
2632 case MagickPreviewOptions:
return(PreviewOptions);
2633 case MagickPrimitiveOptions:
return(PrimitiveOptions);
2634 case MagickQuantumFormatOptions:
return(QuantumFormatOptions);
2635 case MagickResolutionOptions:
return(ResolutionOptions);
2636 case MagickResourceOptions:
return(ResourceOptions);
2637 case MagickSparseColorOptions:
return(SparseColorOptions);
2638 case MagickStatisticOptions:
return(StatisticOptions);
2639 case MagickStorageOptions:
return(StorageOptions);
2640 case MagickStretchOptions:
return(StretchOptions);
2641 case MagickToolOptions:
return(ToolOptions);
2642 case MagickStyleOptions:
return(StyleOptions);
2643 case MagickTypeOptions:
return(TypeOptions);
2644 case MagickValidateOptions:
return(ValidateOptions);
2645 case MagickVirtualPixelOptions:
return(VirtualPixelOptions);
2646 case MagickWeightOptions:
return(WeightOptions);
2647 case MagickWordBreakOptions:
return(WordBreakOptions);
2653MagickExport ssize_t GetCommandOptionFlags(
const CommandOption option,
2654 const MagickBooleanType list,
const char *options)
2657 token[MagickPathExtent];
2681 if ((options == (
const char *) NULL) || (*options ==
'\0'))
2683 option_info=GetOptionInfo(option);
2684 if (option_info == (
const OptionInfo *) NULL)
2685 return(UndefinedOptionFlag);
2688 if (strchr(options,
'|') != (
char *) NULL)
2690 for (p=options; p != (
char *) NULL; p=strchr(p,sentinel))
2692 while (((isspace((
int) ((
unsigned char) *p)) != 0) || (*p == sentinel)) &&
2695 negate=(*p ==
'!') ? MagickTrue : MagickFalse;
2696 if (negate != MagickFalse)
2699 while (((isspace((
int) ((
unsigned char) *p)) == 0) && (*p != sentinel)) &&
2702 if ((q-token) >= (MagickPathExtent-1))
2707 for (i=0; option_info[i].mnemonic != (
char *) NULL; i++)
2708 if (LocaleCompare(token,option_info[i].mnemonic) == 0)
2710 command_info=option_info+i;
2711 if ((command_info->mnemonic == (
const char *) NULL) && (*token !=
'\0') &&
2712 ((strchr(token+1,
'-') != (
char *) NULL) ||
2713 (strchr(token+1,
'_') != (
char *) NULL)))
2715 while ((q=strchr(token+1,
'-')) != (
char *) NULL)
2716 (void) CopyMagickString(q,q+1,MagickPathExtent-strlen(q));
2717 while ((q=strchr(token+1,
'_')) != (
char *) NULL)
2718 (void) CopyMagickString(q,q+1,MagickPathExtent-strlen(q));
2719 for (i=0; option_info[i].mnemonic != (
char *) NULL; i++)
2720 if (LocaleCompare(token,option_info[i].mnemonic) == 0)
2722 command_info=option_info+i;
2724 if (command_info->mnemonic == (
const char *) NULL)
2726 if (negate != MagickFalse)
2727 option_types=option_types &~ command_info->flags;
2729 option_types=option_types | command_info->flags;
2730 if (list == MagickFalse)
2733 return(option_types);
2760MagickExport
const OptionInfo *GetCommandOptionInfo(
const char *option)
2765 for (i=0; CommandOptions[i].mnemonic != (
char *) NULL; i++)
2766 if (LocaleCompare(option,CommandOptions[i].mnemonic) == 0)
2768 return(CommandOptions+i);
2793MagickExport
char **GetCommandOptions(
const CommandOption option)
2804 option_info=GetOptionInfo(option);
2805 if (option_info == (
const OptionInfo *) NULL)
2806 return((
char **) NULL);
2807 for (i=0; option_info[i].mnemonic != (
const char *) NULL; i++) ;
2808 options=(
char **) AcquireQuantumMemory((
size_t) i+1UL,
sizeof(*options));
2809 if (options == (
char **) NULL)
2810 ThrowFatalException(ResourceLimitFatalError,
"MemoryAllocationFailed");
2811 for (i=0; option_info[i].mnemonic != (
const char *) NULL; i++)
2812 options[i]=AcquireString(option_info[i].mnemonic);
2813 options[i]=(
char *) NULL;
2839MagickExport
char *GetNextImageOption(
const ImageInfo *image_info)
2841 assert(image_info != (
ImageInfo *) NULL);
2842 assert(image_info->signature == MagickCoreSignature);
2843 if (IsEventLogging() != MagickFalse)
2844 (void) LogMagickEvent(TraceEvent,GetMagickModule(),
"%s",
2845 image_info->filename);
2846 if (image_info->options == (
void *) NULL)
2847 return((
char *) NULL);
2848 return((
char *) GetNextKeyInSplayTree((
SplayTreeInfo *) image_info->options));
2874MagickExport MagickBooleanType IsCommandOption(
const char *option)
2885 assert(option != (
const char *) NULL);
2886 if ((*option !=
'-') && (*option !=
'+'))
2887 return(MagickFalse);
2888 exception=AcquireExceptionInfo();
2889 value=(
char *) GetImageRegistry(StringRegistryType,
"option:pedantic",
2891 exception=DestroyExceptionInfo(exception);
2892 pedantic=IsStringTrue(value);
2893 if (value != (
char *) NULL)
2894 value=DestroyString(value);
2895 if ((pedantic == MagickFalse) && (IsPathAccessible(option) != MagickFalse))
2896 return(MagickFalse);
2897 if (strlen(option) == 1)
2898 return(((*option ==
'{') || (*option ==
'}') || (*option ==
'[') ||
2899 (*option ==
']')) ? MagickTrue : MagickFalse);
2901 if (isalpha((
int) ((
unsigned char) *option)) == 0)
2902 return(MagickFalse);
2931MagickExport
const char *CommandOptionToMnemonic(
const CommandOption option,
2940 option_info=GetOptionInfo(option);
2941 if (option_info == (
const OptionInfo *) NULL)
2942 return((
const char *) NULL);
2943 for (i=0; option_info[i].mnemonic != (
const char *) NULL; i++)
2944 if (type == option_info[i].type)
2946 if (option_info[i].mnemonic == (
const char *) NULL)
2947 return(
"Unrecognized");
2948 return(option_info[i].mnemonic);
2977MagickExport MagickBooleanType IsOptionMember(
const char *option,
2978 const char *options)
2996 if (options == (
const char *) NULL)
2997 return(MagickFalse);
2998 string=ConstantString(options);
2999 (void) SubstituteString(&
string,
",",
" ");
3000 option_list=StringToArgv(
string,&number_options);
3001 string=DestroyString(
string);
3002 if (option_list == (
char **) NULL)
3003 return(MagickFalse);
3005 option_list[0]=DestroyString(option_list[0]);
3006 for (i=1; i < (ssize_t) number_options; i++)
3008 if ((*option_list[i] ==
'!') &&
3009 (LocaleCompare(option,option_list[i]+1) == 0))
3011 if (GlobExpression(option,option_list[i],MagickTrue) != MagickFalse)
3016 option_list[i]=DestroyString(option_list[i]);
3018 for ( ; i < (ssize_t) number_options; i++)
3019 option_list[i]=DestroyString(option_list[i]);
3020 option_list=(
char **) RelinquishMagickMemory(option_list);
3051MagickExport MagickBooleanType ListCommandOptions(FILE *file,
3052 const CommandOption option,
ExceptionInfo *magick_unused(exception))
3060 magick_unreferenced(exception);
3061 if (file == (FILE *) NULL)
3063 option_info=GetOptionInfo(option);
3064 if (option_info == (
const OptionInfo *) NULL)
3065 return(MagickFalse);
3066 for (i=0; option_info[i].mnemonic != (
char *) NULL; i++)
3068 if (option_info[i].stealth != MagickFalse)
3070 (void) FormatLocaleFile(file,
"%s\n",option_info[i].mnemonic);
3098MagickExport ssize_t ParseChannelOption(
const char *channels)
3109 channel=ParseCommandOption(MagickChannelOptions,MagickTrue,channels);
3113 length=strlen(channels);
3114 for (i=0; i < (ssize_t) length; i++)
3116 switch (channels[i])
3121 channel|=AlphaChannel;
3127 channel|=BlueChannel;
3133 channel|=CyanChannel;
3139 channel|=GreenChannel;
3145 channel|=BlackChannel;
3151 channel|=MagentaChannel;
3157 channel|=AlphaChannel;
3163 channel|=RedChannel;
3169 channel|=YellowChannel;
3180 type=ParseCommandOption(MagickChannelOptions,MagickTrue,channels+i+1);
3222MagickExport ssize_t ParseCommandOption(
const CommandOption option,
3223 const MagickBooleanType list,
const char *options)
3226 token[MagickPathExtent];
3250 if ((options == (
const char *) NULL) || (*options ==
'\0'))
3252 option_info=GetOptionInfo(option);
3253 if (option_info == (
const OptionInfo *) NULL)
3257 if (strchr(options,
'|') != (
char *) NULL)
3259 for (p=options; p != (
char *) NULL; p=strchr(p,sentinel))
3261 while (((isspace((
int) ((
unsigned char) *p)) != 0) || (*p == sentinel)) &&
3264 negate=(*p ==
'!') ? MagickTrue : MagickFalse;
3265 if (negate != MagickFalse)
3268 while (((isspace((
int) ((
unsigned char) *p)) == 0) && (*p != sentinel)) &&
3271 if ((q-token) >= (MagickPathExtent-1))
3276 for (i=0; option_info[i].mnemonic != (
char *) NULL; i++)
3277 if (LocaleCompare(token,option_info[i].mnemonic) == 0)
3279 command_info=option_info+i;
3280 if ((command_info->mnemonic == (
const char *) NULL) && (*token !=
'\0') &&
3281 ((strchr(token+1,
'-') != (
char *) NULL) ||
3282 (strchr(token+1,
'_') != (
char *) NULL)))
3284 while ((q=strchr(token+1,
'-')) != (
char *) NULL)
3285 (void) CopyMagickString(q,q+1,MagickPathExtent-strlen(q));
3286 while ((q=strchr(token+1,
'_')) != (
char *) NULL)
3287 (void) CopyMagickString(q,q+1,MagickPathExtent-strlen(q));
3288 for (i=0; option_info[i].mnemonic != (
char *) NULL; i++)
3289 if (LocaleCompare(token,option_info[i].mnemonic) == 0)
3291 command_info=option_info+i;
3293 if (command_info->mnemonic == (
const char *) NULL)
3295 if (negate != MagickFalse)
3296 option_types=option_types &~ command_info->type;
3298 option_types=option_types | command_info->type;
3299 if (list == MagickFalse)
3302 return(option_types);
3328MagickExport ssize_t ParsePixelChannelOption(
const char *channels)
3332 token[MagickPathExtent];
3337 (void) GetNextToken(channels,(
const char **) NULL,MagickPathExtent,token);
3338 if ((*token ==
';') || (*token ==
'|'))
3339 return(RedPixelChannel);
3340 channel=ParseCommandOption(MagickPixelChannelOptions,MagickTrue,token);
3344 channel=(ssize_t) InterpretLocaleValue(token,&q);
3345 if ((q == token) || (channel < 0) || (channel >= MaxPixelChannels))
3377MagickExport
char *RemoveImageOption(
ImageInfo *image_info,
const char *option)
3382 assert(image_info != (
ImageInfo *) NULL);
3383 assert(image_info->signature == MagickCoreSignature);
3384 if (IsEventLogging() != MagickFalse)
3385 (void) LogMagickEvent(TraceEvent,GetMagickModule(),
"%s",
3386 image_info->filename);
3387 if (image_info->options == (
void *) NULL)
3388 return((
char *) NULL);
3390 image_info->options,option);
3417MagickExport
void ResetImageOptions(
const ImageInfo *image_info)
3419 assert(image_info != (
ImageInfo *) NULL);
3420 assert(image_info->signature == MagickCoreSignature);
3421 if (IsEventLogging() != MagickFalse)
3422 (void) LogMagickEvent(TraceEvent,GetMagickModule(),
"%s",
3423 image_info->filename);
3424 if (image_info->options == (
void *) NULL)
3453MagickExport
void ResetImageOptionIterator(
const ImageInfo *image_info)
3455 assert(image_info != (
ImageInfo *) NULL);
3456 assert(image_info->signature == MagickCoreSignature);
3457 if (IsEventLogging() != MagickFalse)
3458 (void) LogMagickEvent(TraceEvent,GetMagickModule(),
"%s",
3459 image_info->filename);
3460 if (image_info->options == (
void *) NULL)
3462 ResetSplayTreeIterator((
SplayTreeInfo *) image_info->options);
3492MagickExport MagickBooleanType SetImageOption(
ImageInfo *image_info,
3493 const char *option,
const char *value)
3495 assert(image_info != (
ImageInfo *) NULL);
3496 assert(image_info->signature == MagickCoreSignature);
3497 if (IsEventLogging() != MagickFalse)
3498 (void) LogMagickEvent(TraceEvent,GetMagickModule(),
"%s",
3499 image_info->filename);
3503 if (LocaleCompare(option,
"size") == 0) {
3504 (void) CloneString(&image_info->size,value);
3510 if (image_info->options == (
void *) NULL)
3511 image_info->options=NewSplayTree(CompareSplayTreeString,
3512 RelinquishMagickMemory,RelinquishMagickMemory);
3516 if (value == (
const char *) NULL)
3517 return(DeleteImageOption(image_info,option));
3521 return(AddValueToSplayTree((
SplayTreeInfo *) image_info->options,
3522 ConstantString(option),ConstantString(value)));