Lines Matching +full:- +full:- +full:option
20 % Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization %
37 % an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample,
47 #include "MagickWand/mogrify-private.h"
48 #include "MagickCore/exception-private.h"
49 #include "MagickCore/string-private.h"
50 #include "MagickCore/utility-private.h"
105 output=fopen_utf8(argv[argc-1],"wb"); in ConcatenateImages()
109 argv[argc-1]); in ConcatenateImages()
113 for (i=2; i < (ssize_t) (argc-1); i++) in ConcatenateImages()
135 " -channel-fx expression\n" in ConvertUsage()
137 " -separate separate an image channel into a grayscale image", in ConvertUsage()
139 " -debug events display copious debugging information\n" in ConvertUsage()
140 " -distribute-cache port\n" in ConvertUsage()
142 " -help print program options\n" in ConvertUsage()
143 " -list type print a list of supported option arguments\n" in ConvertUsage()
144 " -log format format of debugging information\n" in ConvertUsage()
145 " -version print version information", in ConvertUsage()
147 " -adaptive-blur geometry\n" in ConvertUsage()
149 " -adaptive-resize geometry\n" in ConvertUsage()
151 " -adaptive-sharpen geometry\n" in ConvertUsage()
153 " -alpha option on, activate, off, deactivate, set, opaque, copy\n" in ConvertUsage()
155 " -annotate geometry text\n" in ConvertUsage()
157 " -auto-gamma automagically adjust gamma level of image\n" in ConvertUsage()
158 " -auto-level automagically adjust color levels of image\n" in ConvertUsage()
159 " -auto-orient automagically orient (rotate) image\n" in ConvertUsage()
160 " -auto-threshold method\n" in ConvertUsage()
162 " -bench iterations measure performance\n" in ConvertUsage()
163 " -bilateral-blur geometry\n" in ConvertUsage()
164 " non-linear, edge-preserving, and noise-reducing smoothing filter\n" in ConvertUsage()
165 " -black-threshold value\n" in ConvertUsage()
167 " -blue-shift factor simulate a scene at nighttime in the moonlight\n" in ConvertUsage()
168 " -blur geometry reduce image noise and reduce detail levels\n" in ConvertUsage()
169 " -border geometry surround image with a border of color\n" in ConvertUsage()
170 " -bordercolor color border color\n" in ConvertUsage()
171 " -brightness-contrast geometry\n" in ConvertUsage()
173 " -canny geometry detect edges in the image\n" in ConvertUsage()
174 " -cdl filename color correct with a color decision list\n" in ConvertUsage()
175 " -channel mask set the image channel mask\n" in ConvertUsage()
176 " -charcoal radius simulate a charcoal drawing\n" in ConvertUsage()
177 " -chop geometry remove pixels from the image interior\n" in ConvertUsage()
178 " -clahe geometry contrast limited adaptive histogram equalization\n" in ConvertUsage()
179 " -clamp keep pixel values in range (0-QuantumRange)\n" in ConvertUsage()
180 " -colorize value colorize the image with the fill color\n" in ConvertUsage()
181 " -color-matrix matrix apply color correction to the image\n" in ConvertUsage()
182 " -colors value preferred number of colors in the image\n" in ConvertUsage()
183 " -connected-components connectivity\n" in ConvertUsage()
184 " connected-components uniquely labeled\n" in ConvertUsage()
185 " -contrast enhance or reduce the image contrast\n" in ConvertUsage()
186 " -contrast-stretch geometry\n" in ConvertUsage()
188 " -convolve coefficients\n" in ConvertUsage()
190 " -cycle amount cycle the image colormap\n" in ConvertUsage()
191 " -decipher filename convert cipher pixels to plain pixels\n" in ConvertUsage()
192 " -deskew threshold straighten an image\n" in ConvertUsage()
193 " -despeckle reduce the speckles within an image\n" in ConvertUsage()
194 " -distort method args\n" in ConvertUsage()
196 " -draw string annotate the image with a graphic primitive\n" in ConvertUsage()
197 " -edge radius apply a filter to detect edges in the image\n" in ConvertUsage()
198 " -encipher filename convert plain pixels to cipher pixels\n" in ConvertUsage()
199 " -emboss radius emboss an image\n" in ConvertUsage()
200 " -enhance apply a digital filter to enhance a noisy image\n" in ConvertUsage()
201 " -equalize perform histogram equalization to an image\n" in ConvertUsage()
202 " -evaluate operator value\n" in ConvertUsage()
204 " -extent geometry set the image size\n" in ConvertUsage()
205 " -extract geometry extract area from image\n" in ConvertUsage()
206 " -fft implements the discrete Fourier transform (DFT)\n" in ConvertUsage()
207 " -flip flip image vertically\n" in ConvertUsage()
208 " -floodfill geometry color\n" in ConvertUsage()
210 " -flop flop image horizontally\n" in ConvertUsage()
211 " -frame geometry surround image with an ornamental border\n" in ConvertUsage()
212 " -function name parameters\n" in ConvertUsage()
214 " -gamma value level of gamma correction\n" in ConvertUsage()
215 " -gaussian-blur geometry\n" in ConvertUsage()
217 " -geometry geometry preferred size or location of the image\n" in ConvertUsage()
218 " -grayscale method convert image to grayscale\n" in ConvertUsage()
219 " -hough-lines geometry\n" in ConvertUsage()
221 " -identify identify the format and characteristics of the image\n" in ConvertUsage()
222 " -ift implements the inverse discrete Fourier transform (DFT)\n" in ConvertUsage()
223 " -implode amount implode image pixels about the center\n" in ConvertUsage()
224 " -kmeans geometry K means color reduction\n" in ConvertUsage()
225 " -kuwahara geometry edge preserving noise reduction filter\n" in ConvertUsage()
226 " -lat geometry local adaptive thresholding\n" in ConvertUsage()
227 " -level value adjust the level of image contrast\n" in ConvertUsage()
228 " -level-colors color,color\n" in ConvertUsage()
230 " -linear-stretch geometry\n" in ConvertUsage()
232 " -liquid-rescale geometry\n" in ConvertUsage()
233 " rescale image with seam-carving\n" in ConvertUsage()
234 " -local-contrast geometry\n" in ConvertUsage()
236 " -mean-shift geometry delineate arbitrarily shaped clusters in the image\n" in ConvertUsage()
237 " -median geometry apply a median filter to the image\n" in ConvertUsage()
238 " -mode geometry make each pixel the 'predominant color' of the\n" in ConvertUsage()
240 " -modulate value vary the brightness, saturation, and hue\n" in ConvertUsage()
241 " -monochrome transform image to black and white\n" in ConvertUsage()
242 " -morphology method kernel\n" in ConvertUsage()
244 " -motion-blur geometry\n" in ConvertUsage()
246 " -negate replace every pixel with its complementary color \n" in ConvertUsage()
247 " -noise geometry add or reduce noise in an image\n" in ConvertUsage()
248 " -normalize transform image to span the full range of colors\n" in ConvertUsage()
249 " -opaque color change this color to the fill color\n" in ConvertUsage()
250 " -ordered-dither NxN\n" in ConvertUsage()
253 " -paint radius simulate an oil painting\n" in ConvertUsage()
254 " -perceptible epsilon\n" in ConvertUsage()
256 " -epsilon\n" in ConvertUsage()
257 " -polaroid angle simulate a Polaroid picture\n" in ConvertUsage()
258 " -posterize levels reduce the image to a limited number of color levels\n" in ConvertUsage()
259 " -profile filename add, delete, or apply an image profile\n" in ConvertUsage()
260 " -quantize colorspace reduce colors in this colorspace\n" in ConvertUsage()
261 " -raise value lighten/darken image edges to create a 3-D effect\n" in ConvertUsage()
262 " -random-threshold low,high\n" in ConvertUsage()
264 " -range-threshold values\n" in ConvertUsage()
266 " -region geometry apply options to a portion of the image\n" in ConvertUsage()
267 " -render render vector graphics\n" in ConvertUsage()
268 " -resample geometry change the resolution of an image\n" in ConvertUsage()
269 " -resize geometry resize the image\n" in ConvertUsage()
270 " -roll geometry roll an image vertically or horizontally\n" in ConvertUsage()
271 " -rotate degrees apply Paeth rotation to the image\n" in ConvertUsage()
272 " -rotational-blur angle\n" in ConvertUsage()
274 " -sample geometry scale image with pixel sampling\n" in ConvertUsage()
275 " -scale geometry scale the image\n" in ConvertUsage()
276 " -segment values segment an image\n" in ConvertUsage()
277 " -selective-blur geometry\n" in ConvertUsage()
279 " -sepia-tone threshold\n" in ConvertUsage()
280 " simulate a sepia-toned photo\n" in ConvertUsage()
281 " -set property value set an image property\n" in ConvertUsage()
282 " -shade degrees shade the image using a distant light source\n" in ConvertUsage()
283 " -shadow geometry simulate an image shadow\n" in ConvertUsage()
284 " -sharpen geometry sharpen the image\n" in ConvertUsage()
285 " -shave geometry shave pixels from the image edges\n" in ConvertUsage()
286 " -shear geometry slide one edge of the image along the X or Y axis\n" in ConvertUsage()
287 " -sigmoidal-contrast geometry\n" in ConvertUsage()
290 " -sketch geometry simulate a pencil sketch\n" in ConvertUsage()
291 " -solarize threshold negate all pixels above the threshold level\n" in ConvertUsage()
292 " -sort-pixels sort each scanline in ascending order of intensity\n" in ConvertUsage()
293 " -sparse-color method args\n" in ConvertUsage()
295 " -splice geometry splice the background color into the image\n" in ConvertUsage()
296 " -spread radius displace image pixels by a random amount\n" in ConvertUsage()
297 " -statistic type geometry\n" in ConvertUsage()
300 " -strip strip image of all profiles and comments\n" in ConvertUsage()
301 " -swirl degrees swirl image pixels about the center\n" in ConvertUsage()
302 " -threshold value threshold the image\n" in ConvertUsage()
303 " -thumbnail geometry create a thumbnail of the image\n" in ConvertUsage()
304 " -tile filename tile image when filling a graphic primitive\n" in ConvertUsage()
305 " -tint value tint the image with the fill color\n" in ConvertUsage()
306 " -transform affine transform image\n" in ConvertUsage()
307 " -transparent color make this color transparent within the image\n" in ConvertUsage()
308 " -transpose flip image vertically and rotate 90 degrees\n" in ConvertUsage()
309 " -transverse flop image horizontally and rotate 270 degrees\n" in ConvertUsage()
310 " -trim trim image edges\n" in ConvertUsage()
311 " -type type image type\n" in ConvertUsage()
312 " -unique-colors discard all but one of any pixel color\n" in ConvertUsage()
313 " -unsharp geometry sharpen the image\n" in ConvertUsage()
314 " -vignette geometry soften the edges of the image in vignette style\n" in ConvertUsage()
315 " -wave geometry alter an image along a sine wave\n" in ConvertUsage()
316 " -wavelet-denoise threshold\n" in ConvertUsage()
318 " -white-balance automagically adjust white balance of image\n" in ConvertUsage()
319 " -white-threshold value\n" in ConvertUsage()
322 " -append append an image sequence\n" in ConvertUsage()
323 " -clut apply a color lookup table to the image\n" in ConvertUsage()
324 " -coalesce merge a sequence of images\n" in ConvertUsage()
325 " -combine combine a sequence of images\n" in ConvertUsage()
326 …" -compare mathematically and visually annotate the difference between an image and i… in ConvertUsage()
327 " -complex operator perform complex mathematics on an image sequence\n" in ConvertUsage()
328 " -composite composite image\n" in ConvertUsage()
329 " -copy geometry offset\n" in ConvertUsage()
331 " -crop geometry cut out a rectangular region of the image\n" in ConvertUsage()
332 " -deconstruct break down an image sequence into constituent parts\n" in ConvertUsage()
333 " -evaluate-sequence operator\n" in ConvertUsage()
335 " -flatten flatten a sequence of images\n" in ConvertUsage()
336 " -fx expression apply mathematical expression to an image channel(s)\n" in ConvertUsage()
337 " -hald-clut apply a Hald color lookup table to the image\n" in ConvertUsage()
338 " -layers method optimize, merge, or compare image layers\n" in ConvertUsage()
339 " -morph value morph an image sequence\n" in ConvertUsage()
340 " -mosaic create a mosaic from an image sequence\n" in ConvertUsage()
341 " -poly terms build a polynomial from the image sequence and the corresponding\n" in ConvertUsage()
343 " -print string interpret string and print to console\n" in ConvertUsage()
344 " -process arguments process the image with a custom image filter\n" in ConvertUsage()
345 " -smush geometry smush an image sequence together\n" in ConvertUsage()
346 " -write filename write images to this file", in ConvertUsage()
348 " -adjoin join images into a single multi-image file\n" in ConvertUsage()
349 " -affine matrix affine transform matrix\n" in ConvertUsage()
350 " -alpha option activate, deactivate, reset, or set the alpha channel\n" in ConvertUsage()
351 " -antialias remove pixel-aliasing\n" in ConvertUsage()
352 " -authenticate password\n" in ConvertUsage()
354 " -attenuate value lessen (or intensify) when adding noise to an image\n" in ConvertUsage()
355 " -background color background color\n" in ConvertUsage()
356 " -bias value add bias when convolving an image\n" in ConvertUsage()
357 " -black-point-compensation\n" in ConvertUsage()
359 " -blue-primary point chromaticity blue primary point\n" in ConvertUsage()
360 " -bordercolor color border color\n" in ConvertUsage()
361 " -caption string assign a caption to an image\n" in ConvertUsage()
362 " -clip clip along the first path from the 8BIM profile\n" in ConvertUsage()
363 " -clip-mask filename associate a clip mask with the image\n" in ConvertUsage()
364 " -clip-path id clip along a named path from the 8BIM profile\n" in ConvertUsage()
365 " -colorspace type alternate image colorspace\n" in ConvertUsage()
366 " -comment string annotate image with comment\n" in ConvertUsage()
367 " -compose operator set image composite operator\n" in ConvertUsage()
368 " -compress type type of pixel compression when writing the image\n" in ConvertUsage()
369 " -define format:option\n" in ConvertUsage()
371 " -delay value display the next image after pausing\n" in ConvertUsage()
372 " -density geometry horizontal and vertical density of the image\n" in ConvertUsage()
373 " -depth value image depth\n" in ConvertUsage()
374 " -direction type render text right-to-left or left-to-right\n" in ConvertUsage()
375 " -display server get image or font from this X server\n" in ConvertUsage()
376 " -dispose method layer disposal method\n" in ConvertUsage()
377 " -dither method apply error diffusion to image\n" in ConvertUsage()
378 " -encoding type text encoding type\n" in ConvertUsage()
379 " -endian type endianness (MSB or LSB) of the image\n" in ConvertUsage()
380 " -family name render text with this font family\n" in ConvertUsage()
381 " -features distance analyze image features (e.g. contrast, correlation)\n" in ConvertUsage()
382 " -fill color color to use when filling a graphic primitive\n" in ConvertUsage()
383 " -filter type use this filter when resizing an image\n" in ConvertUsage()
384 " -font name render text with this font\n" in ConvertUsage()
385 " -format \"string\" output formatted image characteristics\n" in ConvertUsage()
386 " -fuzz distance colors within this distance are considered equal\n" in ConvertUsage()
387 " -gravity type horizontal and vertical text placement\n" in ConvertUsage()
388 " -green-primary point chromaticity green primary point\n" in ConvertUsage()
389 " -illuminant type reference illuminant\n" in ConvertUsage()
390 " -intensity method method to generate an intensity value from a pixel\n" in ConvertUsage()
391 " -intent type type of rendering intent when managing the image color\n" in ConvertUsage()
392 " -interlace type type of image interlacing scheme\n" in ConvertUsage()
393 " -interline-spacing value\n" in ConvertUsage()
395 " -interpolate method pixel color interpolation method\n" in ConvertUsage()
396 " -interword-spacing value\n" in ConvertUsage()
398 " -kerning value set the space between two letters\n" in ConvertUsage()
399 " -label string assign a label to an image\n" in ConvertUsage()
400 " -limit type value pixel cache resource limit\n" in ConvertUsage()
401 " -loop iterations add Netscape loop extension to your GIF animation\n" in ConvertUsage()
402 " -matte store matte channel if the image has one\n" in ConvertUsage()
403 " -mattecolor color frame color\n" in ConvertUsage()
404 " -moments report image moments\n" in ConvertUsage()
405 " -monitor monitor progress\n" in ConvertUsage()
406 " -orient type image orientation\n" in ConvertUsage()
407 " -page geometry size and location of an image canvas (setting)\n" in ConvertUsage()
408 " -ping efficiently determine image attributes\n" in ConvertUsage()
409 " -pointsize value font point size\n" in ConvertUsage()
410 " -precision value maximum number of significant digits to print\n" in ConvertUsage()
411 " -preview type image preview type\n" in ConvertUsage()
412 " -quality value JPEG/MIFF/PNG compression level\n" in ConvertUsage()
413 " -quiet suppress all warning messages\n" in ConvertUsage()
414 " -read-mask filename associate a read mask with the image\n" in ConvertUsage()
415 " -red-primary point chromaticity red primary point\n" in ConvertUsage()
416 " -regard-warnings pay attention to warning messages\n" in ConvertUsage()
417 " -remap filename transform image colors to match this set of colors\n" in ConvertUsage()
418 " -repage geometry size and location of an image canvas\n" in ConvertUsage()
419 " -respect-parentheses settings remain in effect until parenthesis boundary\n" in ConvertUsage()
420 " -sampling-factor geometry\n" in ConvertUsage()
422 " -scene value image scene number\n" in ConvertUsage()
423 " -seed value seed a new sequence of pseudo-random numbers\n" in ConvertUsage()
424 " -size geometry width and height of image\n" in ConvertUsage()
425 " -stretch type render text with this font stretch\n" in ConvertUsage()
426 " -stroke color graphic primitive stroke color\n" in ConvertUsage()
427 " -strokewidth value graphic primitive stroke width\n" in ConvertUsage()
428 " -style type render text with this font style\n" in ConvertUsage()
429 " -support factor resize support: > 1.0 is blurry, < 1.0 is sharp\n" in ConvertUsage()
430 " -synchronize synchronize image to storage device\n" in ConvertUsage()
431 " -taint declare the image as modified\n" in ConvertUsage()
432 " -texture filename name of texture to tile onto the image background\n" in ConvertUsage()
433 " -tile-offset geometry\n" in ConvertUsage()
435 " -treedepth value color tree depth\n" in ConvertUsage()
436 " -transparent-color color\n" in ConvertUsage()
438 " -undercolor color annotation bounding box color\n" in ConvertUsage()
439 " -units type the units of image resolution\n" in ConvertUsage()
440 " -verbose print detailed information about the image\n" in ConvertUsage()
441 " -view FlashPix viewing transforms\n" in ConvertUsage()
442 " -virtual-pixel method\n" in ConvertUsage()
444 " -weight type render text with this font weight\n" in ConvertUsage()
445 " -white-point point chromaticity white point\n" in ConvertUsage()
446 " -write-mask filename associate a write mask with the image", in ConvertUsage()
448 " -clone indexes clone an image\n" in ConvertUsage()
449 " -delete indexes delete the image from the image sequence\n" in ConvertUsage()
450 " -duplicate count,indexes\n" in ConvertUsage()
452 " -insert index insert last image into the image sequence\n" in ConvertUsage()
453 " -reverse reverse image sequence\n" in ConvertUsage()
454 " -swap indexes swap two images in the image sequence"; in ConvertUsage()
479 (void) printf("'-' for standard input or output.\n"); in ConvertUsage()
494 #define ThrowConvertException(asperity,tag,option) \ in ConvertImageCommand() argument
497 option); \ in ConvertImageCommand()
501 #define ThrowConvertInvalidArgumentException(option,argument) \ in ConvertImageCommand() argument
504 "InvalidArgument","'%s': %s",option,argument); \ in ConvertImageCommand()
511 *option; in ConvertImageCommand() local
541 assert(image_info->signature == MagickCoreSignature); in ConvertImageCommand()
542 if (image_info->debug != MagickFalse) in ConvertImageCommand()
547 option=argv[1]; in ConvertImageCommand()
548 if ((LocaleCompare("version",option+1) == 0) || in ConvertImageCommand()
549 (LocaleCompare("-version",option+1) == 0)) in ConvertImageCommand()
562 option=(char *) NULL; in ConvertImageCommand()
567 Parse command-line arguments. in ConvertImageCommand()
574 if ((argc > 2) && (LocaleCompare("-concatenate",argv[1]) == 0)) in ConvertImageCommand()
576 for (i=1; i < (ssize_t) (argc-1); i++) in ConvertImageCommand()
578 option=argv[i]; in ConvertImageCommand()
579 if (LocaleCompare(option,"(") == 0) in ConvertImageCommand()
584 option); in ConvertImageCommand()
588 if (LocaleCompare(option,")") == 0) in ConvertImageCommand()
592 ThrowConvertException(OptionError,"UnableToParseExpression",option); in ConvertImageCommand()
596 if (IsCommandOption(option) == MagickFalse) in ConvertImageCommand()
606 if ((LocaleCompare(filename,"--") == 0) && (i < (ssize_t) (argc-1))) in ConvertImageCommand()
608 if (image_info->ping != MagickFalse) in ConvertImageCommand()
613 (exception->severity < ErrorException); in ConvertImageCommand()
620 switch (*(option+1)) in ConvertImageCommand()
624 if (LocaleCompare("adaptive-blur",option+1) == 0) in ConvertImageCommand()
628 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
630 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
633 if (LocaleCompare("adaptive-resize",option+1) == 0) in ConvertImageCommand()
637 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
639 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
642 if (LocaleCompare("adaptive-sharpen",option+1) == 0) in ConvertImageCommand()
646 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
648 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
651 if (LocaleCompare("adjoin",option+1) == 0) in ConvertImageCommand()
653 if (LocaleCompare("affine",option+1) == 0) in ConvertImageCommand()
655 if (*option == '+') in ConvertImageCommand()
659 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
661 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
664 if (LocaleCompare("alpha",option+1) == 0) in ConvertImageCommand()
669 if (*option == '+') in ConvertImageCommand()
673 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
681 if (LocaleCompare("annotate",option+1) == 0) in ConvertImageCommand()
683 if (*option == '+') in ConvertImageCommand()
687 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
689 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
692 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
695 if (LocaleCompare("antialias",option+1) == 0) in ConvertImageCommand()
697 if (LocaleCompare("append",option+1) == 0) in ConvertImageCommand()
699 if (LocaleCompare("attenuate",option+1) == 0) in ConvertImageCommand()
701 if (*option == '+') in ConvertImageCommand()
705 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
707 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
710 if (LocaleCompare("authenticate",option+1) == 0) in ConvertImageCommand()
712 if (*option == '+') in ConvertImageCommand()
716 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
719 if (LocaleCompare("auto-gamma",option+1) == 0) in ConvertImageCommand()
721 if (LocaleCompare("auto-level",option+1) == 0) in ConvertImageCommand()
723 if (LocaleCompare("auto-orient",option+1) == 0) in ConvertImageCommand()
725 if (LocaleCompare("auto-threshold",option+1) == 0) in ConvertImageCommand()
730 if (*option == '+') in ConvertImageCommand()
734 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
742 if (LocaleCompare("average",option+1) == 0) in ConvertImageCommand()
744 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
748 if (LocaleCompare("background",option+1) == 0) in ConvertImageCommand()
750 if (*option == '+') in ConvertImageCommand()
754 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
757 if (LocaleCompare("bench",option+1) == 0) in ConvertImageCommand()
759 if (*option == '+') in ConvertImageCommand()
763 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
765 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
768 if (LocaleCompare("bias",option+1) == 0) in ConvertImageCommand()
770 if (*option == '+') in ConvertImageCommand()
774 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
776 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
779 if (LocaleCompare("bilateral-blur",option+1) == 0) in ConvertImageCommand()
781 if (*option == '+') in ConvertImageCommand()
785 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
787 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
790 if (LocaleCompare("black-point-compensation",option+1) == 0) in ConvertImageCommand()
792 if (LocaleCompare("black-threshold",option+1) == 0) in ConvertImageCommand()
794 if (*option == '+') in ConvertImageCommand()
798 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
800 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
803 if (LocaleCompare("blue-primary",option+1) == 0) in ConvertImageCommand()
805 if (*option == '+') in ConvertImageCommand()
809 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
811 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
814 if (LocaleCompare("blue-shift",option+1) == 0) in ConvertImageCommand()
816 if (*option == '+') in ConvertImageCommand()
820 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
822 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
825 if (LocaleCompare("blur",option+1) == 0) in ConvertImageCommand()
827 if (*option == '+') in ConvertImageCommand()
831 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
833 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
836 if (LocaleCompare("border",option+1) == 0) in ConvertImageCommand()
838 if (*option == '+') in ConvertImageCommand()
842 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
844 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
847 if (LocaleCompare("bordercolor",option+1) == 0) in ConvertImageCommand()
849 if (*option == '+') in ConvertImageCommand()
853 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
856 if (LocaleCompare("box",option+1) == 0) in ConvertImageCommand()
858 if (*option == '+') in ConvertImageCommand()
862 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
865 if (LocaleCompare("brightness-contrast",option+1) == 0) in ConvertImageCommand()
869 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
871 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
874 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
878 if (LocaleCompare("cache",option+1) == 0) in ConvertImageCommand()
880 if (*option == '+') in ConvertImageCommand()
884 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
886 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
889 if (LocaleCompare("canny",option+1) == 0) in ConvertImageCommand()
891 if (*option == '+') in ConvertImageCommand()
895 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
897 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
900 if (LocaleCompare("caption",option+1) == 0) in ConvertImageCommand()
902 if (*option == '+') in ConvertImageCommand()
906 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
909 if (LocaleCompare("cdl",option+1) == 0) in ConvertImageCommand()
911 if (*option == '+') in ConvertImageCommand()
915 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
918 if (LocaleCompare("channel",option+1) == 0) in ConvertImageCommand()
923 if (*option == '+') in ConvertImageCommand()
927 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
934 if (LocaleCompare("channel-fx",option+1) == 0) in ConvertImageCommand()
939 if (*option == '+') in ConvertImageCommand()
943 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
950 if (LocaleCompare("charcoal",option+1) == 0) in ConvertImageCommand()
952 if (*option == '+') in ConvertImageCommand()
956 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
958 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
961 if (LocaleCompare("chop",option+1) == 0) in ConvertImageCommand()
963 if (*option == '+') in ConvertImageCommand()
967 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
969 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
972 if (LocaleCompare("clahe",option+1) == 0) in ConvertImageCommand()
974 if (*option == '+') in ConvertImageCommand()
978 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
980 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
983 if (LocaleCompare("clamp",option+1) == 0) in ConvertImageCommand()
985 if (LocaleCompare("clip",option+1) == 0) in ConvertImageCommand()
987 if (LocaleCompare("clip-mask",option+1) == 0) in ConvertImageCommand()
989 if (*option == '+') in ConvertImageCommand()
993 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
996 if (LocaleCompare("clip-path",option+1) == 0) in ConvertImageCommand()
1000 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1003 if (LocaleCompare("clone",option+1) == 0) in ConvertImageCommand()
1011 clone_list=CloneImageList(image_stack[k-1].image,exception); in ConvertImageCommand()
1013 ThrowConvertException(ImageError,"ImageSequenceRequired",option); in ConvertImageCommand()
1015 if (*option == '+') in ConvertImageCommand()
1016 clone_images=CloneImages(clone_list,"-1",exception); in ConvertImageCommand()
1021 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1023 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1027 ThrowConvertException(OptionError,"NoSuchImage",option); in ConvertImageCommand()
1032 if (LocaleCompare("clut",option+1) == 0) in ConvertImageCommand()
1034 if (LocaleCompare("coalesce",option+1) == 0) in ConvertImageCommand()
1036 if (LocaleCompare("colorize",option+1) == 0) in ConvertImageCommand()
1038 if (*option == '+') in ConvertImageCommand()
1042 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1044 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1047 if (LocaleCompare("color-matrix",option+1) == 0) in ConvertImageCommand()
1052 if (*option == '+') in ConvertImageCommand()
1056 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1059 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1063 if (LocaleCompare("colors",option+1) == 0) in ConvertImageCommand()
1065 if (*option == '+') in ConvertImageCommand()
1070 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1073 if (LocaleCompare("colorspace",option+1) == 0) in ConvertImageCommand()
1078 if (*option == '+') in ConvertImageCommand()
1082 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1090 if (LocaleCompare("color-threshold",option+1) == 0) in ConvertImageCommand()
1092 if (*option == '+') in ConvertImageCommand()
1096 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1099 if (LocaleCompare("combine",option+1) == 0) in ConvertImageCommand()
1101 if (LocaleCompare("comment",option+1) == 0) in ConvertImageCommand()
1103 if (*option == '+') in ConvertImageCommand()
1107 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1110 if (LocaleCompare("compare",option+1) == 0) in ConvertImageCommand()
1112 if (LocaleCompare("complex",option+1) == 0) in ConvertImageCommand()
1117 if (*option == '+') in ConvertImageCommand()
1121 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1128 if (LocaleCompare("compose",option+1) == 0) in ConvertImageCommand()
1133 if (*option == '+') in ConvertImageCommand()
1137 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1145 if (LocaleCompare("composite",option+1) == 0) in ConvertImageCommand()
1147 if (LocaleCompare("compress",option+1) == 0) in ConvertImageCommand()
1152 if (*option == '+') in ConvertImageCommand()
1156 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1164 if (LocaleCompare("concurrent",option+1) == 0) in ConvertImageCommand()
1166 if (LocaleCompare("connected-components",option+1) == 0) in ConvertImageCommand()
1170 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1172 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1175 if (LocaleCompare("contrast",option+1) == 0) in ConvertImageCommand()
1177 if (LocaleCompare("contrast-stretch",option+1) == 0) in ConvertImageCommand()
1181 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1183 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1186 if (LocaleCompare("convolve",option+1) == 0) in ConvertImageCommand()
1191 if (*option == '+') in ConvertImageCommand()
1195 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1198 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1202 if (LocaleCompare("copy",option+1) == 0) in ConvertImageCommand()
1204 if (*option == '+') in ConvertImageCommand()
1208 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1210 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1213 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1215 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1218 if (LocaleCompare("crop",option+1) == 0) in ConvertImageCommand()
1220 if (*option == '+') in ConvertImageCommand()
1224 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1226 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1229 if (LocaleCompare("cycle",option+1) == 0) in ConvertImageCommand()
1231 if (*option == '+') in ConvertImageCommand()
1235 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1237 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1240 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
1244 if (LocaleCompare("decipher",option+1) == 0) in ConvertImageCommand()
1246 if (*option == '+') in ConvertImageCommand()
1250 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1253 if (LocaleCompare("deconstruct",option+1) == 0) in ConvertImageCommand()
1255 if (LocaleCompare("debug",option+1) == 0) in ConvertImageCommand()
1260 if (*option == '+') in ConvertImageCommand()
1264 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1272 if (LocaleCompare("define",option+1) == 0) in ConvertImageCommand()
1276 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1277 if (*option == '+') in ConvertImageCommand()
1289 if (LocaleCompare("delay",option+1) == 0) in ConvertImageCommand()
1291 if (*option == '+') in ConvertImageCommand()
1295 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1297 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1300 if (LocaleCompare("density",option+1) == 0) in ConvertImageCommand()
1302 if (*option == '+') in ConvertImageCommand()
1306 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1308 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1311 if (LocaleCompare("depth",option+1) == 0) in ConvertImageCommand()
1313 if (*option == '+') in ConvertImageCommand()
1317 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1319 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1322 if (LocaleCompare("delete",option+1) == 0) in ConvertImageCommand()
1324 if (*option == '+') in ConvertImageCommand()
1328 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1330 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1333 if (LocaleCompare("deskew",option+1) == 0) in ConvertImageCommand()
1335 if (*option == '+') in ConvertImageCommand()
1339 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1341 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1344 if (LocaleCompare("despeckle",option+1) == 0) in ConvertImageCommand()
1346 if (LocaleCompare("direction",option+1) == 0) in ConvertImageCommand()
1351 if (*option == '+') in ConvertImageCommand()
1355 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1363 if (LocaleCompare("display",option+1) == 0) in ConvertImageCommand()
1365 if (*option == '+') in ConvertImageCommand()
1369 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1372 if (LocaleCompare("dispose",option+1) == 0) in ConvertImageCommand()
1377 if (*option == '+') in ConvertImageCommand()
1381 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1388 if (LocaleCompare("distort",option+1) == 0) in ConvertImageCommand()
1395 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1402 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1405 if (LocaleCompare("dither",option+1) == 0) in ConvertImageCommand()
1410 if (*option == '+') in ConvertImageCommand()
1414 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1421 if (LocaleCompare("draw",option+1) == 0) in ConvertImageCommand()
1423 if (*option == '+') in ConvertImageCommand()
1427 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1430 if (LocaleCompare("duplicate",option+1) == 0) in ConvertImageCommand()
1432 if (*option == '+') in ConvertImageCommand()
1436 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1438 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1441 if (LocaleCompare("duration",option+1) == 0) in ConvertImageCommand()
1443 if (*option == '+') in ConvertImageCommand()
1447 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1449 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1452 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
1456 if (LocaleCompare("edge",option+1) == 0) in ConvertImageCommand()
1458 if (*option == '+') in ConvertImageCommand()
1462 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1464 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1467 if (LocaleCompare("emboss",option+1) == 0) in ConvertImageCommand()
1469 if (*option == '+') in ConvertImageCommand()
1473 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1475 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1478 if (LocaleCompare("encipher",option+1) == 0) in ConvertImageCommand()
1480 if (*option == '+') in ConvertImageCommand()
1484 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1487 if (LocaleCompare("encoding",option+1) == 0) in ConvertImageCommand()
1489 if (*option == '+') in ConvertImageCommand()
1493 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1496 if (LocaleCompare("endian",option+1) == 0) in ConvertImageCommand()
1501 if (*option == '+') in ConvertImageCommand()
1505 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1513 if (LocaleCompare("enhance",option+1) == 0) in ConvertImageCommand()
1515 if (LocaleCompare("equalize",option+1) == 0) in ConvertImageCommand()
1517 if (LocaleCompare("evaluate",option+1) == 0) in ConvertImageCommand()
1522 if (*option == '+') in ConvertImageCommand()
1526 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1533 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1535 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1538 if (LocaleCompare("evaluate-sequence",option+1) == 0) in ConvertImageCommand()
1543 if (*option == '+') in ConvertImageCommand()
1547 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1554 if (LocaleCompare("extent",option+1) == 0) in ConvertImageCommand()
1556 if (*option == '+') in ConvertImageCommand()
1560 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1562 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1565 if (LocaleCompare("extract",option+1) == 0) in ConvertImageCommand()
1567 if (*option == '+') in ConvertImageCommand()
1571 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1573 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1576 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
1580 if (LocaleCompare("family",option+1) == 0) in ConvertImageCommand()
1582 if (*option == '+') in ConvertImageCommand()
1586 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1589 if (LocaleCompare("features",option+1) == 0) in ConvertImageCommand()
1591 if (*option == '+') in ConvertImageCommand()
1595 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1597 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1600 if (LocaleCompare("fft",option+1) == 0) in ConvertImageCommand()
1602 if (LocaleCompare("fill",option+1) == 0) in ConvertImageCommand()
1604 if (*option == '+') in ConvertImageCommand()
1608 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1611 if (LocaleCompare("filter",option+1) == 0) in ConvertImageCommand()
1616 if (*option == '+') in ConvertImageCommand()
1620 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1627 if (LocaleCompare("flatten",option+1) == 0) in ConvertImageCommand()
1629 if (LocaleCompare("flip",option+1) == 0) in ConvertImageCommand()
1631 if (LocaleCompare("flop",option+1) == 0) in ConvertImageCommand()
1633 if (LocaleCompare("floodfill",option+1) == 0) in ConvertImageCommand()
1635 if (*option == '+') in ConvertImageCommand()
1639 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1641 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1644 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1647 if (LocaleCompare("font",option+1) == 0) in ConvertImageCommand()
1649 if (*option == '+') in ConvertImageCommand()
1653 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1656 if (LocaleCompare("format",option+1) == 0) in ConvertImageCommand()
1658 if (*option == '+') in ConvertImageCommand()
1662 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1666 if (LocaleCompare("frame",option+1) == 0) in ConvertImageCommand()
1668 if (*option == '+') in ConvertImageCommand()
1672 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1674 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1677 if (LocaleCompare("function",option+1) == 0) in ConvertImageCommand()
1682 if (*option == '+') in ConvertImageCommand()
1686 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1692 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1695 if (LocaleCompare("fuzz",option+1) == 0) in ConvertImageCommand()
1697 if (*option == '+') in ConvertImageCommand()
1701 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1703 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1706 if (LocaleCompare("fx",option+1) == 0) in ConvertImageCommand()
1708 if (*option == '+') in ConvertImageCommand()
1712 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1715 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
1719 if (LocaleCompare("gamma",option+1) == 0) in ConvertImageCommand()
1723 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1725 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1728 if ((LocaleCompare("gaussian-blur",option+1) == 0) || in ConvertImageCommand()
1729 (LocaleCompare("gaussian",option+1) == 0)) in ConvertImageCommand()
1733 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1735 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1738 if (LocaleCompare("geometry",option+1) == 0) in ConvertImageCommand()
1740 if (*option == '+') in ConvertImageCommand()
1744 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1746 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1749 if (LocaleCompare("gravity",option+1) == 0) in ConvertImageCommand()
1754 if (*option == '+') in ConvertImageCommand()
1758 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1766 if (LocaleCompare("grayscale",option+1) == 0) in ConvertImageCommand()
1771 if (*option == '+') in ConvertImageCommand()
1775 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1783 if (LocaleCompare("green-primary",option+1) == 0) in ConvertImageCommand()
1785 if (*option == '+') in ConvertImageCommand()
1789 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1791 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1794 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
1798 if (LocaleCompare("hald-clut",option+1) == 0) in ConvertImageCommand()
1800 if ((LocaleCompare("help",option+1) == 0) || in ConvertImageCommand()
1801 (LocaleCompare("-help",option+1) == 0)) in ConvertImageCommand()
1806 if (LocaleCompare("hough-lines",option+1) == 0) in ConvertImageCommand()
1808 if (*option == '+') in ConvertImageCommand()
1812 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1814 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1817 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
1821 if (LocaleCompare("identify",option+1) == 0) in ConvertImageCommand()
1823 if (LocaleCompare("ift",option+1) == 0) in ConvertImageCommand()
1825 if (LocaleCompare("illuminant",option+1) == 0) in ConvertImageCommand()
1830 if (*option == '+') in ConvertImageCommand()
1834 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1842 if (LocaleCompare("implode",option+1) == 0) in ConvertImageCommand()
1844 if (*option == '+') in ConvertImageCommand()
1848 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1850 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1853 if (LocaleCompare("insert",option+1) == 0) in ConvertImageCommand()
1855 if (*option == '+') in ConvertImageCommand()
1859 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1861 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1864 if (LocaleCompare("intensity",option+1) == 0) in ConvertImageCommand()
1869 if (*option == '+') in ConvertImageCommand()
1873 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1881 if (LocaleCompare("intent",option+1) == 0) in ConvertImageCommand()
1886 if (*option == '+') in ConvertImageCommand()
1890 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1896 if (LocaleCompare("interlace",option+1) == 0) in ConvertImageCommand()
1901 if (*option == '+') in ConvertImageCommand()
1905 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1913 if (LocaleCompare("interline-spacing",option+1) == 0) in ConvertImageCommand()
1915 if (*option == '+') in ConvertImageCommand()
1919 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1921 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1924 if (LocaleCompare("interpolate",option+1) == 0) in ConvertImageCommand()
1929 if (*option == '+') in ConvertImageCommand()
1933 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1941 if (LocaleCompare("interword-spacing",option+1) == 0) in ConvertImageCommand()
1943 if (*option == '+') in ConvertImageCommand()
1947 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1949 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1952 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
1956 if (LocaleCompare("kerning",option+1) == 0) in ConvertImageCommand()
1958 if (*option == '+') in ConvertImageCommand()
1962 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1964 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1967 if (LocaleCompare("kmeans",option+1) == 0) in ConvertImageCommand()
1969 if (*option == '+') in ConvertImageCommand()
1973 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1975 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1978 if (LocaleCompare("kuwahara",option+1) == 0) in ConvertImageCommand()
1980 if (*option == '+') in ConvertImageCommand()
1984 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
1986 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
1989 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
1993 if (LocaleCompare("label",option+1) == 0) in ConvertImageCommand()
1995 if (*option == '+') in ConvertImageCommand()
1999 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2002 if (LocaleCompare("lat",option+1) == 0) in ConvertImageCommand()
2004 if (*option == '+') in ConvertImageCommand()
2008 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2010 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2013 if (LocaleCompare("layers",option+1) == 0) in ConvertImageCommand()
2018 if (*option == '+') in ConvertImageCommand()
2022 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2029 if (LocaleCompare("level",option+1) == 0) in ConvertImageCommand()
2033 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2035 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2038 if (LocaleCompare("level-colors",option+1) == 0) in ConvertImageCommand()
2042 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2045 if (LocaleCompare("limit",option+1) == 0) in ConvertImageCommand()
2056 if (*option == '+') in ConvertImageCommand()
2060 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2068 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2072 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2075 if (LocaleCompare("linear-stretch",option+1) == 0) in ConvertImageCommand()
2079 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2081 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2084 if (LocaleCompare("liquid-rescale",option+1) == 0) in ConvertImageCommand()
2088 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2090 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2093 if (LocaleCompare("list",option+1) == 0) in ConvertImageCommand()
2098 if (*option == '+') in ConvertImageCommand()
2102 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2106 status=MogrifyImageInfo(image_info,(int) (i-j+1),(const char **) in ConvertImageCommand()
2111 if (LocaleCompare("local-contrast",option+1) == 0) in ConvertImageCommand()
2115 ThrowConvertException(OptionError, "MissingArgument", option); in ConvertImageCommand()
2117 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2120 if (LocaleCompare("log",option+1) == 0) in ConvertImageCommand()
2122 if (*option == '+') in ConvertImageCommand()
2127 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2130 if (LocaleCompare("loop",option+1) == 0) in ConvertImageCommand()
2132 if (*option == '+') in ConvertImageCommand()
2136 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2138 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2141 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
2145 if (LocaleCompare("magnify",option+1) == 0) in ConvertImageCommand()
2147 if (LocaleCompare("map",option+1) == 0) in ConvertImageCommand()
2149 if (*option == '+') in ConvertImageCommand()
2153 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2156 if (LocaleCompare("mask",option+1) == 0) in ConvertImageCommand()
2158 if (*option == '+') in ConvertImageCommand()
2162 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2165 if (LocaleCompare("matte",option+1) == 0) in ConvertImageCommand()
2167 if (LocaleCompare("mattecolor",option+1) == 0) in ConvertImageCommand()
2169 if (*option == '+') in ConvertImageCommand()
2173 ThrowConvertException(OptionError, "MissingArgument", option); in ConvertImageCommand()
2176 if (LocaleCompare("maximum",option+1) == 0) in ConvertImageCommand()
2178 if (LocaleCompare("mean-shift",option+1) == 0) in ConvertImageCommand()
2180 if (*option == '+') in ConvertImageCommand()
2184 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2186 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2189 if (LocaleCompare("median",option+1) == 0) in ConvertImageCommand()
2191 if (*option == '+') in ConvertImageCommand()
2195 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2197 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2200 if (LocaleCompare("metric",option+1) == 0) in ConvertImageCommand()
2205 if (*option == '+') in ConvertImageCommand()
2209 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2216 if (LocaleCompare("minimum",option+1) == 0) in ConvertImageCommand()
2218 if (LocaleCompare("mode",option+1) == 0) in ConvertImageCommand()
2220 if (*option == '+') in ConvertImageCommand()
2224 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2226 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2229 if (LocaleCompare("modulate",option+1) == 0) in ConvertImageCommand()
2231 if (*option == '+') in ConvertImageCommand()
2235 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2237 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2240 if (LocaleCompare("moments",option+1) == 0) in ConvertImageCommand()
2242 if (LocaleCompare("monitor",option+1) == 0) in ConvertImageCommand()
2244 if (LocaleCompare("monochrome",option+1) == 0) in ConvertImageCommand()
2246 if (LocaleCompare("morph",option+1) == 0) in ConvertImageCommand()
2248 if (*option == '+') in ConvertImageCommand()
2252 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2254 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2257 if (LocaleCompare("morphology",option+1) == 0) in ConvertImageCommand()
2270 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2278 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2281 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2285 if (LocaleCompare("mosaic",option+1) == 0) in ConvertImageCommand()
2287 if (LocaleCompare("motion-blur",option+1) == 0) in ConvertImageCommand()
2289 if (*option == '+') in ConvertImageCommand()
2293 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2295 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2298 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
2302 if (LocaleCompare("negate",option+1) == 0) in ConvertImageCommand()
2304 if (LocaleCompare("noise",option+1) == 0) in ConvertImageCommand()
2308 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2309 if (*option == '+') in ConvertImageCommand()
2322 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2325 if (LocaleCompare("noop",option+1) == 0) in ConvertImageCommand()
2327 if (LocaleCompare("normalize",option+1) == 0) in ConvertImageCommand()
2329 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
2333 if (LocaleCompare("opaque",option+1) == 0) in ConvertImageCommand()
2337 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2340 if (LocaleCompare("ordered-dither",option+1) == 0) in ConvertImageCommand()
2342 if (*option == '+') in ConvertImageCommand()
2346 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2349 if (LocaleCompare("orient",option+1) == 0) in ConvertImageCommand()
2354 if (*option == '+') in ConvertImageCommand()
2358 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2370 if (LocaleCompare("page",option+1) == 0) in ConvertImageCommand()
2372 if (*option == '+') in ConvertImageCommand()
2376 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2379 if (LocaleCompare("paint",option+1) == 0) in ConvertImageCommand()
2381 if (*option == '+') in ConvertImageCommand()
2385 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2387 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2390 if (LocaleCompare("perceptible",option+1) == 0) in ConvertImageCommand()
2392 if (*option == '+') in ConvertImageCommand()
2396 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2398 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2401 if (LocaleCompare("ping",option+1) == 0) in ConvertImageCommand()
2403 if (LocaleCompare("pointsize",option+1) == 0) in ConvertImageCommand()
2405 if (*option == '+') in ConvertImageCommand()
2409 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2411 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2414 if (LocaleCompare("polaroid",option+1) == 0) in ConvertImageCommand()
2416 if (*option == '+') in ConvertImageCommand()
2420 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2422 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2425 if (LocaleCompare("poly",option+1) == 0) in ConvertImageCommand()
2427 if (*option == '+') in ConvertImageCommand()
2431 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2433 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2436 if (LocaleCompare("posterize",option+1) == 0) in ConvertImageCommand()
2438 if (*option == '+') in ConvertImageCommand()
2442 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2444 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2447 if (LocaleCompare("precision",option+1) == 0) in ConvertImageCommand()
2449 if (*option == '+') in ConvertImageCommand()
2453 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2455 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2458 if (LocaleCompare("preview",option+1) == 0) in ConvertImageCommand()
2463 if (*option == '+') in ConvertImageCommand()
2467 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2475 if (LocaleCompare("print",option+1) == 0) in ConvertImageCommand()
2477 if (*option == '+') in ConvertImageCommand()
2481 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2484 if (LocaleCompare("process",option+1) == 0) in ConvertImageCommand()
2486 if (*option == '+') in ConvertImageCommand()
2490 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2493 if (LocaleCompare("profile",option+1) == 0) in ConvertImageCommand()
2497 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2500 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
2504 if (LocaleCompare("quality",option+1) == 0) in ConvertImageCommand()
2506 if (*option == '+') in ConvertImageCommand()
2510 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2512 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2515 if (LocaleCompare("quantize",option+1) == 0) in ConvertImageCommand()
2520 if (*option == '+') in ConvertImageCommand()
2524 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2532 if (LocaleCompare("quiet",option+1) == 0) in ConvertImageCommand()
2534 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
2538 if (LocaleCompare("rotational-blur",option+1) == 0) in ConvertImageCommand()
2542 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2544 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2547 if (LocaleCompare("raise",option+1) == 0) in ConvertImageCommand()
2551 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2553 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2556 if (LocaleCompare("random-threshold",option+1) == 0) in ConvertImageCommand()
2558 if (*option == '+') in ConvertImageCommand()
2562 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2564 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2567 if (LocaleCompare("range-threshold",option+1) == 0) in ConvertImageCommand()
2569 if (*option == '+') in ConvertImageCommand()
2573 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2575 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2578 if (LocaleCompare("read-mask",option+1) == 0) in ConvertImageCommand()
2580 if (*option == '+') in ConvertImageCommand()
2584 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2587 if (LocaleCompare("red-primary",option+1) == 0) in ConvertImageCommand()
2589 if (*option == '+') in ConvertImageCommand()
2593 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2595 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2598 if (LocaleCompare("regard-warnings",option+1) == 0) in ConvertImageCommand()
2600 if (LocaleCompare("region",option+1) == 0) in ConvertImageCommand()
2602 if (*option == '+') in ConvertImageCommand()
2606 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2608 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2611 if (LocaleCompare("remap",option+1) == 0) in ConvertImageCommand()
2613 if (*option == '+') in ConvertImageCommand()
2617 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2620 if (LocaleCompare("render",option+1) == 0) in ConvertImageCommand()
2622 if (LocaleCompare("repage",option+1) == 0) in ConvertImageCommand()
2624 if (*option == '+') in ConvertImageCommand()
2628 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2630 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2633 if (LocaleCompare("resample",option+1) == 0) in ConvertImageCommand()
2635 if (*option == '+') in ConvertImageCommand()
2639 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2641 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2644 if (LocaleCompare("resize",option+1) == 0) in ConvertImageCommand()
2646 if (*option == '+') in ConvertImageCommand()
2650 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2652 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2655 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in ConvertImageCommand()
2657 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in ConvertImageCommand()
2660 if (LocaleCompare("reverse",option+1) == 0) in ConvertImageCommand()
2662 if (LocaleCompare("roll",option+1) == 0) in ConvertImageCommand()
2664 if (*option == '+') in ConvertImageCommand()
2668 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2670 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2673 if (LocaleCompare("rotate",option+1) == 0) in ConvertImageCommand()
2677 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2679 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2682 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
2686 if (LocaleCompare("sample",option+1) == 0) in ConvertImageCommand()
2688 if (*option == '+') in ConvertImageCommand()
2692 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2694 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2697 if (LocaleCompare("sampling-factor",option+1) == 0) in ConvertImageCommand()
2699 if (*option == '+') in ConvertImageCommand()
2703 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2705 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2708 if (LocaleCompare("scale",option+1) == 0) in ConvertImageCommand()
2710 if (*option == '+') in ConvertImageCommand()
2714 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2716 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2719 if (LocaleCompare("scene",option+1) == 0) in ConvertImageCommand()
2721 if (*option == '+') in ConvertImageCommand()
2725 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2727 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2730 if (LocaleCompare("seed",option+1) == 0) in ConvertImageCommand()
2732 if (*option == '+') in ConvertImageCommand()
2736 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2738 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2741 if (LocaleCompare("segment",option+1) == 0) in ConvertImageCommand()
2743 if (*option == '+') in ConvertImageCommand()
2747 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2749 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2752 if (LocaleCompare("selective-blur",option+1) == 0) in ConvertImageCommand()
2756 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2758 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2761 if (LocaleCompare("separate",option+1) == 0) in ConvertImageCommand()
2763 if (LocaleCompare("sepia-tone",option+1) == 0) in ConvertImageCommand()
2765 if (*option == '+') in ConvertImageCommand()
2769 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2771 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2774 if (LocaleCompare("set",option+1) == 0) in ConvertImageCommand()
2778 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2779 if (*option == '+') in ConvertImageCommand()
2783 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2786 if (LocaleCompare("shade",option+1) == 0) in ConvertImageCommand()
2790 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2792 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2795 if (LocaleCompare("shadow",option+1) == 0) in ConvertImageCommand()
2797 if (*option == '+') in ConvertImageCommand()
2801 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2803 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2806 if (LocaleCompare("sharpen",option+1) == 0) in ConvertImageCommand()
2810 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2812 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2815 if (LocaleCompare("shave",option+1) == 0) in ConvertImageCommand()
2817 if (*option == '+') in ConvertImageCommand()
2821 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2823 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2826 if (LocaleCompare("shear",option+1) == 0) in ConvertImageCommand()
2830 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2832 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2835 if (LocaleCompare("sigmoidal-contrast",option+1) == 0) in ConvertImageCommand()
2839 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2841 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2844 if (LocaleCompare("size",option+1) == 0) in ConvertImageCommand()
2846 if (*option == '+') in ConvertImageCommand()
2850 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2852 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2855 if (LocaleCompare("sketch",option+1) == 0) in ConvertImageCommand()
2857 if (*option == '+') in ConvertImageCommand()
2861 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2863 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2866 if (LocaleCompare("smush",option+1) == 0) in ConvertImageCommand()
2870 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2872 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2875 if (LocaleCompare("solarize",option+1) == 0) in ConvertImageCommand()
2877 if (*option == '+') in ConvertImageCommand()
2881 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2883 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2886 if (LocaleCompare("sort-pixels",option+1) == 0) in ConvertImageCommand()
2888 if (LocaleCompare("sparse-color",option+1) == 0) in ConvertImageCommand()
2895 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2902 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2905 if (LocaleCompare("splice",option+1) == 0) in ConvertImageCommand()
2907 if (*option == '+') in ConvertImageCommand()
2911 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2913 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2916 if (LocaleCompare("spread",option+1) == 0) in ConvertImageCommand()
2918 if (*option == '+') in ConvertImageCommand()
2923 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2926 if (LocaleCompare("statistic",option+1) == 0) in ConvertImageCommand()
2931 if (*option == '+') in ConvertImageCommand()
2935 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2942 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2944 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2947 if (LocaleCompare("stretch",option+1) == 0) in ConvertImageCommand()
2952 if (*option == '+') in ConvertImageCommand()
2956 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2964 if (LocaleCompare("strip",option+1) == 0) in ConvertImageCommand()
2966 if (LocaleCompare("stroke",option+1) == 0) in ConvertImageCommand()
2968 if (*option == '+') in ConvertImageCommand()
2972 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2975 if (LocaleCompare("strokewidth",option+1) == 0) in ConvertImageCommand()
2977 if (*option == '+') in ConvertImageCommand()
2981 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
2983 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
2986 if (LocaleCompare("style",option+1) == 0) in ConvertImageCommand()
2991 if (*option == '+') in ConvertImageCommand()
2995 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3002 if (LocaleCompare("support",option+1) == 0) in ConvertImageCommand()
3007 if (LocaleCompare("swap",option+1) == 0) in ConvertImageCommand()
3009 if (*option == '+') in ConvertImageCommand()
3013 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3015 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3018 if (LocaleCompare("swirl",option+1) == 0) in ConvertImageCommand()
3020 if (*option == '+') in ConvertImageCommand()
3024 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3026 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3029 if (LocaleCompare("synchronize",option+1) == 0) in ConvertImageCommand()
3031 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
3035 if (LocaleCompare("taint",option+1) == 0) in ConvertImageCommand()
3037 if (LocaleCompare("texture",option+1) == 0) in ConvertImageCommand()
3039 if (*option == '+') in ConvertImageCommand()
3043 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3046 if (LocaleCompare("threshold",option+1) == 0) in ConvertImageCommand()
3048 if (*option == '+') in ConvertImageCommand()
3052 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3054 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3057 if (LocaleCompare("thumbnail",option+1) == 0) in ConvertImageCommand()
3059 if (*option == '+') in ConvertImageCommand()
3063 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3065 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3068 if (LocaleCompare("tile",option+1) == 0) in ConvertImageCommand()
3070 if (*option == '+') in ConvertImageCommand()
3074 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3077 if (LocaleCompare("tile-offset",option+1) == 0) in ConvertImageCommand()
3079 if (*option == '+') in ConvertImageCommand()
3083 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3085 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3088 if (LocaleCompare("tint",option+1) == 0) in ConvertImageCommand()
3090 if (*option == '+') in ConvertImageCommand()
3094 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3096 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3099 if (LocaleCompare("transform",option+1) == 0) in ConvertImageCommand()
3101 if (LocaleCompare("transparent",option+1) == 0) in ConvertImageCommand()
3105 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3108 if (LocaleCompare("transparent-color",option+1) == 0) in ConvertImageCommand()
3110 if (*option == '+') in ConvertImageCommand()
3114 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3117 if (LocaleCompare("transpose",option+1) == 0) in ConvertImageCommand()
3119 if (LocaleCompare("transverse",option+1) == 0) in ConvertImageCommand()
3121 if (LocaleCompare("treedepth",option+1) == 0) in ConvertImageCommand()
3123 if (*option == '+') in ConvertImageCommand()
3127 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3129 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3132 if (LocaleCompare("trim",option+1) == 0) in ConvertImageCommand()
3134 if (LocaleCompare("type",option+1) == 0) in ConvertImageCommand()
3139 if (*option == '+') in ConvertImageCommand()
3143 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3150 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
3154 if (LocaleCompare("undercolor",option+1) == 0) in ConvertImageCommand()
3156 if (*option == '+') in ConvertImageCommand()
3160 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3163 if (LocaleCompare("unique-colors",option+1) == 0) in ConvertImageCommand()
3165 if (LocaleCompare("units",option+1) == 0) in ConvertImageCommand()
3170 if (*option == '+') in ConvertImageCommand()
3174 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3182 if (LocaleCompare("unsharp",option+1) == 0) in ConvertImageCommand()
3184 if (*option == '+') in ConvertImageCommand()
3188 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3190 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3193 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
3197 if (LocaleCompare("verbose",option+1) == 0) in ConvertImageCommand()
3199 if ((LocaleCompare("version",option+1) == 0) || in ConvertImageCommand()
3200 (LocaleCompare("-version",option+1) == 0)) in ConvertImageCommand()
3205 if (LocaleCompare("vignette",option+1) == 0) in ConvertImageCommand()
3207 if (*option == '+') in ConvertImageCommand()
3211 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3213 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3216 if (LocaleCompare("virtual-pixel",option+1) == 0) in ConvertImageCommand()
3221 if (*option == '+') in ConvertImageCommand()
3225 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3233 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
3237 if (LocaleCompare("wave",option+1) == 0) in ConvertImageCommand()
3241 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3243 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3246 if (LocaleCompare("wavelet-denoise",option+1) == 0) in ConvertImageCommand()
3250 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3252 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3255 if (LocaleCompare("weight",option+1) == 0) in ConvertImageCommand()
3257 if (*option == '+') in ConvertImageCommand()
3261 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3264 if (LocaleCompare("white-point",option+1) == 0) in ConvertImageCommand()
3266 if (*option == '+') in ConvertImageCommand()
3270 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3272 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3275 if (LocaleCompare("white-balance",option+1) == 0) in ConvertImageCommand()
3277 if (LocaleCompare("white-threshold",option+1) == 0) in ConvertImageCommand()
3279 if (*option == '+') in ConvertImageCommand()
3283 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3285 ThrowConvertInvalidArgumentException(option,argv[i]); in ConvertImageCommand()
3288 if (LocaleCompare("write",option+1) == 0) in ConvertImageCommand()
3292 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3295 if (LocaleCompare("write-mask",option+1) == 0) in ConvertImageCommand()
3297 if (*option == '+') in ConvertImageCommand()
3301 ThrowConvertException(OptionError,"MissingArgument",option); in ConvertImageCommand()
3304 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
3309 ThrowConvertException(OptionError,"UnrecognizedOption",option) in ConvertImageCommand()
3311 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in ConvertImageCommand()
3318 if (i-- != (ssize_t) (argc-1)) in ConvertImageCommand()
3319 ThrowConvertException(OptionError,"MissingAnImageFilename",argv[argc-1]); in ConvertImageCommand()
3322 ThrowConvertException(OptionError,"NoImagesDefined",argv[argc-1]); in ConvertImageCommand()
3323 if (IsCommandOption(argv[argc-1])) in ConvertImageCommand()
3324 ThrowConvertException(OptionError,"MissingAnImageFilename",argv[argc-1]); in ConvertImageCommand()
3325 if (LocaleCompare(" ",argv[argc-1]) == 0) /* common line continuation error */ in ConvertImageCommand()
3326 ThrowConvertException(OptionError,"MissingAnImageFilename",argv[argc-1]); in ConvertImageCommand()
3327 status&=WriteImages(image_info,image,argv[argc-1],exception); in ConvertImageCommand()