• Home
  • Raw
  • Download

Lines Matching refs:option

240 #define ThrowCompareException(asperity,tag,option) \  in CompareImagesCommand()  argument
244 "`%s'",option); \ in CompareImagesCommand()
248 #define ThrowCompareInvalidArgumentException(option,argument) \ in CompareImagesCommand() argument
251 "InvalidArgument","'%s': %s",option,argument); \ in CompareImagesCommand()
258 *option; in CompareImagesCommand() local
310 option=argv[1]; in CompareImagesCommand()
311 if ((LocaleCompare("version",option+1) == 0) || in CompareImagesCommand()
312 (LocaleCompare("-version",option+1) == 0)) in CompareImagesCommand()
330 option=(char *) NULL; in CompareImagesCommand()
346 option=argv[i]; in CompareImagesCommand()
347 if (LocaleCompare(option,"(") == 0) in CompareImagesCommand()
352 option); in CompareImagesCommand()
356 if (LocaleCompare(option,")") == 0) in CompareImagesCommand()
360 ThrowCompareException(OptionError,"UnableToParseExpression",option); in CompareImagesCommand()
364 if (IsCommandOption(option) == MagickFalse) in CompareImagesCommand()
385 switch (*(option+1)) in CompareImagesCommand()
389 if (LocaleCompare("alpha",option+1) == 0) in CompareImagesCommand()
394 if (*option == '+') in CompareImagesCommand()
398 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
406 if (LocaleCompare("authenticate",option+1) == 0) in CompareImagesCommand()
408 if (*option == '+') in CompareImagesCommand()
412 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
415 ThrowCompareException(OptionError,"UnrecognizedOption",option); in CompareImagesCommand()
419 if (LocaleCompare("background",option+1) == 0) in CompareImagesCommand()
421 if (*option == '+') in CompareImagesCommand()
425 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
428 if (LocaleCompare("brightness-contrast",option+1) == 0) in CompareImagesCommand()
432 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
434 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
437 ThrowCompareException(OptionError,"UnrecognizedOption",option); in CompareImagesCommand()
441 if (LocaleCompare("cache",option+1) == 0) in CompareImagesCommand()
443 if (*option == '+') in CompareImagesCommand()
447 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
449 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
452 if (LocaleCompare("channel",option+1) == 0) in CompareImagesCommand()
457 if (*option == '+') in CompareImagesCommand()
461 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
468 if (LocaleCompare("colorspace",option+1) == 0) in CompareImagesCommand()
473 if (*option == '+') in CompareImagesCommand()
477 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
485 if (LocaleCompare("compose",option+1) == 0) in CompareImagesCommand()
490 if (*option == '+') in CompareImagesCommand()
494 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
502 if (LocaleCompare("compress",option+1) == 0) in CompareImagesCommand()
507 if (*option == '+') in CompareImagesCommand()
511 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
519 if (LocaleCompare("concurrent",option+1) == 0) in CompareImagesCommand()
521 if (LocaleCompare("crop",option+1) == 0) in CompareImagesCommand()
523 if (*option == '+') in CompareImagesCommand()
527 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
529 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
532 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
536 if (LocaleCompare("debug",option+1) == 0) in CompareImagesCommand()
541 if (*option == '+') in CompareImagesCommand()
545 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
552 if (LocaleCompare("decipher",option+1) == 0) in CompareImagesCommand()
554 if (*option == '+') in CompareImagesCommand()
558 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
561 if (LocaleCompare("define",option+1) == 0) in CompareImagesCommand()
565 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
566 if (*option == '+') in CompareImagesCommand()
578 if (LocaleCompare("delete",option+1) == 0) in CompareImagesCommand()
580 if (*option == '+') in CompareImagesCommand()
584 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
586 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
589 if (LocaleCompare("density",option+1) == 0) in CompareImagesCommand()
591 if (*option == '+') in CompareImagesCommand()
595 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
597 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
600 if (LocaleCompare("depth",option+1) == 0) in CompareImagesCommand()
602 if (*option == '+') in CompareImagesCommand()
606 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
608 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
611 if (LocaleCompare("dissimilarity-threshold",option+1) == 0) in CompareImagesCommand()
613 if (*option == '+') in CompareImagesCommand()
617 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
619 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
620 if (*option == '+') in CompareImagesCommand()
626 if (LocaleCompare("distort",option+1) == 0) in CompareImagesCommand()
633 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
640 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
643 if (LocaleCompare("duration",option+1) == 0) in CompareImagesCommand()
645 if (*option == '+') in CompareImagesCommand()
649 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
651 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
654 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
658 if (LocaleCompare("encipher",option+1) == 0) in CompareImagesCommand()
660 if (*option == '+') in CompareImagesCommand()
664 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
667 if (LocaleCompare("extract",option+1) == 0) in CompareImagesCommand()
669 if (*option == '+') in CompareImagesCommand()
673 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
675 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
678 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
682 if (LocaleCompare("format",option+1) == 0) in CompareImagesCommand()
684 if (*option == '+') in CompareImagesCommand()
688 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
692 if (LocaleCompare("fuzz",option+1) == 0) in CompareImagesCommand()
694 if (*option == '+') in CompareImagesCommand()
698 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
700 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
703 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
707 if (LocaleCompare("gravity",option+1) == 0) in CompareImagesCommand()
712 if (*option == '+') in CompareImagesCommand()
716 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
724 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
728 if ((LocaleCompare("help",option+1) == 0) || in CompareImagesCommand()
729 (LocaleCompare("-help",option+1) == 0)) in CompareImagesCommand()
731 if (LocaleCompare("highlight-color",option+1) == 0) in CompareImagesCommand()
733 if (*option == '+') in CompareImagesCommand()
737 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
740 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
744 if (LocaleCompare("identify",option+1) == 0) in CompareImagesCommand()
746 if (LocaleCompare("interlace",option+1) == 0) in CompareImagesCommand()
751 if (*option == '+') in CompareImagesCommand()
755 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
763 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
767 if (LocaleCompare("level",option+1) == 0) in CompareImagesCommand()
771 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
773 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
776 if (LocaleCompare("limit",option+1) == 0) in CompareImagesCommand()
787 if (*option == '+') in CompareImagesCommand()
791 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
799 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
803 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
806 if (LocaleCompare("list",option+1) == 0) in CompareImagesCommand()
811 if (*option == '+') in CompareImagesCommand()
815 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
824 if (LocaleCompare("log",option+1) == 0) in CompareImagesCommand()
826 if (*option == '+') in CompareImagesCommand()
830 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
833 if (LocaleCompare("lowlight-color",option+1) == 0) in CompareImagesCommand()
835 if (*option == '+') in CompareImagesCommand()
839 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
842 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
846 if (LocaleCompare("matte",option+1) == 0) in CompareImagesCommand()
848 if (LocaleCompare("metric",option+1) == 0) in CompareImagesCommand()
853 if (*option == '+') in CompareImagesCommand()
857 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
865 if (LocaleCompare("monitor",option+1) == 0) in CompareImagesCommand()
867 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
871 if (LocaleCompare("negate",option+1) == 0) in CompareImagesCommand()
873 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
877 if (LocaleCompare("profile",option+1) == 0) in CompareImagesCommand()
881 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
884 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
888 if (LocaleCompare("quality",option+1) == 0) in CompareImagesCommand()
890 if (*option == '+') in CompareImagesCommand()
894 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
896 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
899 if (LocaleCompare("quantize",option+1) == 0) in CompareImagesCommand()
904 if (*option == '+') in CompareImagesCommand()
908 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
916 if (LocaleCompare("quiet",option+1) == 0) in CompareImagesCommand()
918 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
922 if (LocaleCompare("read-mask",option+1) == 0) in CompareImagesCommand()
924 if (*option == '+') in CompareImagesCommand()
928 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
931 if (LocaleCompare("regard-warnings",option+1) == 0) in CompareImagesCommand()
933 if (LocaleCompare("repage",option+1) == 0) in CompareImagesCommand()
935 if (*option == '+') in CompareImagesCommand()
939 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
941 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
944 if (LocaleCompare("resize",option+1) == 0) in CompareImagesCommand()
946 if (*option == '+') in CompareImagesCommand()
950 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
952 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
955 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in CompareImagesCommand()
957 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in CompareImagesCommand()
960 if (LocaleCompare("rotate",option+1) == 0) in CompareImagesCommand()
964 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
966 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
969 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
973 if (LocaleCompare("sampling-factor",option+1) == 0) in CompareImagesCommand()
975 if (*option == '+') in CompareImagesCommand()
979 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
981 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
984 if (LocaleCompare("seed",option+1) == 0) in CompareImagesCommand()
986 if (*option == '+') in CompareImagesCommand()
990 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
992 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
995 if (LocaleCompare("separate",option+1) == 0) in CompareImagesCommand()
997 if (LocaleCompare("set",option+1) == 0) in CompareImagesCommand()
1001 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1002 if (*option == '+') in CompareImagesCommand()
1006 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1009 if (LocaleCompare("sigmoidal-contrast",option+1) == 0) in CompareImagesCommand()
1013 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1015 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
1018 if (LocaleCompare("similarity-threshold",option+1) == 0) in CompareImagesCommand()
1020 if (*option == '+') in CompareImagesCommand()
1024 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1026 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
1027 if (*option == '+') in CompareImagesCommand()
1033 if (LocaleCompare("size",option+1) == 0) in CompareImagesCommand()
1035 if (*option == '+') in CompareImagesCommand()
1039 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1041 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
1044 if (LocaleCompare("subimage-search",option+1) == 0) in CompareImagesCommand()
1046 if (*option == '+') in CompareImagesCommand()
1054 if (LocaleCompare("synchronize",option+1) == 0) in CompareImagesCommand()
1056 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
1060 if (LocaleCompare("taint",option+1) == 0) in CompareImagesCommand()
1062 if (LocaleCompare("transparent-color",option+1) == 0) in CompareImagesCommand()
1064 if (*option == '+') in CompareImagesCommand()
1068 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1071 if (LocaleCompare("trim",option+1) == 0) in CompareImagesCommand()
1073 if (LocaleCompare("type",option+1) == 0) in CompareImagesCommand()
1078 if (*option == '+') in CompareImagesCommand()
1082 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1089 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
1093 if (LocaleCompare("verbose",option+1) == 0) in CompareImagesCommand()
1095 if ((LocaleCompare("version",option+1) == 0) || in CompareImagesCommand()
1096 (LocaleCompare("-version",option+1) == 0)) in CompareImagesCommand()
1101 if (LocaleCompare("virtual-pixel",option+1) == 0) in CompareImagesCommand()
1106 if (*option == '+') in CompareImagesCommand()
1110 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1118 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
1122 if (LocaleCompare("write",option+1) == 0) in CompareImagesCommand()
1126 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1129 if (LocaleCompare("write-mask",option+1) == 0) in CompareImagesCommand()
1131 if (*option == '+') in CompareImagesCommand()
1135 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
1138 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
1143 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
1145 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in CompareImagesCommand()