Lines Matching refs:option
197 #define ThrowIdentifyException(asperity,tag,option) \ in IdentifyImageCommand() argument
200 option); \ in IdentifyImageCommand()
204 #define ThrowIdentifyInvalidArgumentException(option,argument) \ in IdentifyImageCommand() argument
207 "InvalidArgument","'%s': %s",option,argument); \ in IdentifyImageCommand()
214 *option; in IdentifyImageCommand() local
250 option=argv[1]; in IdentifyImageCommand()
251 if ((LocaleCompare("version",option+1) == 0) || in IdentifyImageCommand()
252 (LocaleCompare("-version",option+1) == 0)) in IdentifyImageCommand()
265 option=(char *) NULL; in IdentifyImageCommand()
280 option=argv[i]; in IdentifyImageCommand()
281 if (LocaleCompare(option,"(") == 0) in IdentifyImageCommand()
286 option); in IdentifyImageCommand()
290 if (LocaleCompare(option,")") == 0) in IdentifyImageCommand()
294 ThrowIdentifyException(OptionError,"UnableToParseExpression",option); in IdentifyImageCommand()
298 if (IsCommandOption(option) == MagickFalse) in IdentifyImageCommand()
356 switch (*(option+1)) in IdentifyImageCommand()
360 if (LocaleCompare("alpha",option+1) == 0) in IdentifyImageCommand()
365 if (*option == '+') in IdentifyImageCommand()
369 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
377 if (LocaleCompare("antialias",option+1) == 0) in IdentifyImageCommand()
379 if (LocaleCompare("authenticate",option+1) == 0) in IdentifyImageCommand()
381 if (*option == '+') in IdentifyImageCommand()
385 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
388 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
392 if (LocaleCompare("cache",option+1) == 0) in IdentifyImageCommand()
394 if (*option == '+') in IdentifyImageCommand()
398 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
400 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
403 if (LocaleCompare("channel",option+1) == 0) in IdentifyImageCommand()
408 if (*option == '+') in IdentifyImageCommand()
412 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
419 if (LocaleCompare("clip",option+1) == 0) in IdentifyImageCommand()
421 if (LocaleCompare("clip-mask",option+1) == 0) in IdentifyImageCommand()
423 if (*option == '+') in IdentifyImageCommand()
427 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
430 if (LocaleCompare("clip-path",option+1) == 0) in IdentifyImageCommand()
434 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
437 if (LocaleCompare("colorspace",option+1) == 0) in IdentifyImageCommand()
442 if (*option == '+') in IdentifyImageCommand()
446 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
454 if (LocaleCompare("crop",option+1) == 0) in IdentifyImageCommand()
456 if (*option == '+') in IdentifyImageCommand()
460 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
462 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
466 if (LocaleCompare("concurrent",option+1) == 0) in IdentifyImageCommand()
468 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
472 if (LocaleCompare("debug",option+1) == 0) in IdentifyImageCommand()
477 if (*option == '+') in IdentifyImageCommand()
481 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
489 if (LocaleCompare("define",option+1) == 0) in IdentifyImageCommand()
493 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
494 if (*option == '+') in IdentifyImageCommand()
508 if (LocaleCompare("density",option+1) == 0) in IdentifyImageCommand()
510 if (*option == '+') in IdentifyImageCommand()
514 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
516 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
519 if (LocaleCompare("depth",option+1) == 0) in IdentifyImageCommand()
521 if (*option == '+') in IdentifyImageCommand()
525 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
527 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
530 if (LocaleCompare("duration",option+1) == 0) in IdentifyImageCommand()
532 if (*option == '+') in IdentifyImageCommand()
536 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
538 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
541 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
545 if (LocaleCompare("endian",option+1) == 0) in IdentifyImageCommand()
550 if (*option == '+') in IdentifyImageCommand()
554 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
562 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
566 if (LocaleCompare("features",option+1) == 0) in IdentifyImageCommand()
568 if (*option == '+') in IdentifyImageCommand()
572 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
574 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
577 if (LocaleCompare("format",option+1) == 0) in IdentifyImageCommand()
580 if (*option == '+') in IdentifyImageCommand()
584 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
588 if (LocaleCompare("fuzz",option+1) == 0) in IdentifyImageCommand()
590 if (*option == '+') in IdentifyImageCommand()
594 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
596 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
599 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
603 if (LocaleCompare("gamma",option+1) == 0) in IdentifyImageCommand()
607 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
609 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
612 if (LocaleCompare("grayscale",option+1) == 0) in IdentifyImageCommand()
617 if (*option == '+') in IdentifyImageCommand()
621 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
629 if (LocaleCompare("green-primary",option+1) == 0) in IdentifyImageCommand()
631 if (*option == '+') in IdentifyImageCommand()
635 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
637 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
640 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
644 if ((LocaleCompare("help",option+1) == 0) || in IdentifyImageCommand()
645 (LocaleCompare("-help",option+1) == 0)) in IdentifyImageCommand()
647 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
651 if (LocaleCompare("interlace",option+1) == 0) in IdentifyImageCommand()
656 if (*option == '+') in IdentifyImageCommand()
660 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
668 if (LocaleCompare("interpolate",option+1) == 0) in IdentifyImageCommand()
673 if (*option == '+') in IdentifyImageCommand()
677 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
685 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
689 if (LocaleCompare("limit",option+1) == 0) in IdentifyImageCommand()
700 if (*option == '+') in IdentifyImageCommand()
704 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
712 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
716 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
719 if (LocaleCompare("list",option+1) == 0) in IdentifyImageCommand()
724 if (*option == '+') in IdentifyImageCommand()
728 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
738 if (LocaleCompare("log",option+1) == 0) in IdentifyImageCommand()
740 if (*option == '+') in IdentifyImageCommand()
745 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
748 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
752 if (LocaleCompare("mask",option+1) == 0) in IdentifyImageCommand()
754 if (*option == '+') in IdentifyImageCommand()
758 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
761 if (LocaleCompare("matte",option+1) == 0) in IdentifyImageCommand()
763 if (LocaleCompare("moments",option+1) == 0) in IdentifyImageCommand()
765 if (LocaleCompare("monitor",option+1) == 0) in IdentifyImageCommand()
767 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
771 if (LocaleCompare("negate",option+1) == 0) in IdentifyImageCommand()
773 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
777 if (LocaleCompare("ping",option+1) == 0) in IdentifyImageCommand()
779 if (LocaleCompare("precision",option+1) == 0) in IdentifyImageCommand()
781 if (*option == '+') in IdentifyImageCommand()
785 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
787 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
790 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
794 if (LocaleCompare("quiet",option+1) == 0) in IdentifyImageCommand()
796 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
800 if (LocaleCompare("regard-warnings",option+1) == 0) in IdentifyImageCommand()
802 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in IdentifyImageCommand()
804 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in IdentifyImageCommand()
807 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
811 if (LocaleCompare("sampling-factor",option+1) == 0) in IdentifyImageCommand()
813 if (*option == '+') in IdentifyImageCommand()
817 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
819 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
822 if (LocaleCompare("seed",option+1) == 0) in IdentifyImageCommand()
824 if (*option == '+') in IdentifyImageCommand()
828 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
830 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
833 if (LocaleCompare("set",option+1) == 0) in IdentifyImageCommand()
837 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
838 if (*option == '+') in IdentifyImageCommand()
842 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
845 if (LocaleCompare("size",option+1) == 0) in IdentifyImageCommand()
847 if (*option == '+') in IdentifyImageCommand()
851 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
853 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
856 if (LocaleCompare("strip",option+1) == 0) in IdentifyImageCommand()
858 if (LocaleCompare("support",option+1) == 0) in IdentifyImageCommand()
860 if (*option == '+') in IdentifyImageCommand()
864 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
866 ThrowIdentifyInvalidArgumentException(option,argv[i]); in IdentifyImageCommand()
869 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
873 if (LocaleCompare("unique",option+1) == 0) in IdentifyImageCommand()
875 if (LocaleCompare("units",option+1) == 0) in IdentifyImageCommand()
880 if (*option == '+') in IdentifyImageCommand()
884 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
892 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
896 if (LocaleCompare("verbose",option+1) == 0) in IdentifyImageCommand()
898 if (LocaleCompare("virtual-pixel",option+1) == 0) in IdentifyImageCommand()
903 if (*option == '+') in IdentifyImageCommand()
907 ThrowIdentifyException(OptionError,"MissingArgument",option); in IdentifyImageCommand()
915 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
920 ThrowIdentifyException(OptionError,"UnrecognizedOption",option) in IdentifyImageCommand()
922 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in IdentifyImageCommand()