• Home
  • Raw
  • Download

Lines Matching refs:option

232 #define ThrowImportException(asperity,tag,option) \  in ImportImageCommand()  argument
235 option); \ in ImportImageCommand()
239 #define ThrowImportInvalidArgumentException(option,argument) \ in ImportImageCommand() argument
242 "InvalidArgument","'%s': %s",option,argument); \ in ImportImageCommand()
249 *option, in ImportImageCommand() local
301 option=argv[1]; in ImportImageCommand()
302 if ((LocaleCompare("version",option+1) == 0) || in ImportImageCommand()
303 (LocaleCompare("-version",option+1) == 0)) in ImportImageCommand()
313 option=(char *) NULL; in ImportImageCommand()
335 option=argv[i]; in ImportImageCommand()
336 if (LocaleCompare("display",option+1) == 0) in ImportImageCommand()
343 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
346 if ((LocaleCompare("help",option+1) == 0) || in ImportImageCommand()
347 (LocaleCompare("-help",option+1) == 0)) in ImportImageCommand()
420 option=argv[i]; in ImportImageCommand()
421 if (LocaleCompare(option,"(") == 0) in ImportImageCommand()
426 option); in ImportImageCommand()
430 if (LocaleCompare(option,")") == 0) in ImportImageCommand()
434 ThrowImportException(OptionError,"UnableToParseExpression",option); in ImportImageCommand()
438 if (IsCommandOption(option) == MagickFalse) in ImportImageCommand()
470 switch(*(option+1)) in ImportImageCommand()
474 if (LocaleCompare("adjoin",option+1) == 0) in ImportImageCommand()
476 if (LocaleCompare("annotate",option+1) == 0) in ImportImageCommand()
478 if (*option == '+') in ImportImageCommand()
482 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
484 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
486 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
490 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
494 if (LocaleCompare("border",option+1) == 0) in ImportImageCommand()
497 ximage_info.borders=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
500 if (LocaleCompare("bordercolor",option+1) == 0) in ImportImageCommand()
502 if (*option == '+') in ImportImageCommand()
506 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
509 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
513 if (LocaleCompare("cache",option+1) == 0) in ImportImageCommand()
515 if (*option == '+') in ImportImageCommand()
519 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
521 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
524 if (LocaleCompare("channel",option+1) == 0) in ImportImageCommand()
529 if (*option == '+') in ImportImageCommand()
533 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
540 if (LocaleCompare("colors",option+1) == 0) in ImportImageCommand()
543 if (*option == '+') in ImportImageCommand()
547 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
549 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
553 if (LocaleCompare("colorspace",option+1) == 0) in ImportImageCommand()
558 if (*option == '+') in ImportImageCommand()
562 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
570 if (LocaleCompare("comment",option+1) == 0) in ImportImageCommand()
572 if (*option == '+') in ImportImageCommand()
576 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
582 if (LocaleCompare("compress",option+1) == 0) in ImportImageCommand()
587 if (*option == '+') in ImportImageCommand()
591 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
599 if (LocaleCompare("concurrent",option+1) == 0) in ImportImageCommand()
601 if (LocaleCompare("crop",option+1) == 0) in ImportImageCommand()
603 if (*option == '+') in ImportImageCommand()
607 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
609 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
612 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
616 if (LocaleCompare("debug",option+1) == 0) in ImportImageCommand()
621 if (*option == '+') in ImportImageCommand()
625 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
632 if (LocaleCompare("define",option+1) == 0) in ImportImageCommand()
636 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
637 if (*option == '+') in ImportImageCommand()
649 if (LocaleCompare("delay",option+1) == 0) in ImportImageCommand()
651 if (*option == '+') in ImportImageCommand()
655 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
657 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
663 if (LocaleCompare("density",option+1) == 0) in ImportImageCommand()
665 if (*option == '+') in ImportImageCommand()
669 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
671 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
674 if (LocaleCompare("depth",option+1) == 0) in ImportImageCommand()
676 if (*option == '+') in ImportImageCommand()
680 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
682 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
685 if (LocaleCompare("descend",option+1) == 0) in ImportImageCommand()
687 ximage_info.descend=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
690 if (LocaleCompare("display",option+1) == 0) in ImportImageCommand()
692 if (*option == '+') in ImportImageCommand()
696 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
699 if (LocaleCompare("dispose",option+1) == 0) in ImportImageCommand()
704 if (*option == '+') in ImportImageCommand()
708 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
715 if (LocaleCompare("dither",option+1) == 0) in ImportImageCommand()
721 if (*option == '+') in ImportImageCommand()
725 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
733 if (LocaleCompare("duration",option+1) == 0) in ImportImageCommand()
735 if (*option == '+') in ImportImageCommand()
739 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
741 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
744 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
748 if (LocaleCompare("encipher",option+1) == 0) in ImportImageCommand()
750 if (*option == '+') in ImportImageCommand()
754 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
757 if (LocaleCompare("encoding",option+1) == 0) in ImportImageCommand()
759 if (*option == '+') in ImportImageCommand()
763 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
766 if (LocaleCompare("endian",option+1) == 0) in ImportImageCommand()
771 if (*option == '+') in ImportImageCommand()
775 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
783 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
787 if (LocaleCompare("filter",option+1) == 0) in ImportImageCommand()
792 if (*option == '+') in ImportImageCommand()
796 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
803 if (LocaleCompare("frame",option+1) == 0) in ImportImageCommand()
806 ximage_info.frame=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
809 if (LocaleCompare("format",option+1) == 0) in ImportImageCommand()
811 if (*option == '+') in ImportImageCommand()
815 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
818 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
822 if (LocaleCompare("geometry",option+1) == 0) in ImportImageCommand()
824 if (*option == '+') in ImportImageCommand()
828 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
830 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
833 if (LocaleCompare("gravity",option+1) == 0) in ImportImageCommand()
838 if (*option == '+') in ImportImageCommand()
842 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
849 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
853 if (LocaleCompare("help",option+1) == 0) in ImportImageCommand()
855 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
859 if (LocaleCompare("identify",option+1) == 0) in ImportImageCommand()
861 if (LocaleCompare("interlace",option+1) == 0) in ImportImageCommand()
866 if (*option == '+') in ImportImageCommand()
870 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
878 if (LocaleCompare("interpolate",option+1) == 0) in ImportImageCommand()
883 if (*option == '+') in ImportImageCommand()
887 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
895 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
899 if (LocaleCompare("label",option+1) == 0) in ImportImageCommand()
901 if (*option == '+') in ImportImageCommand()
905 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
911 if (LocaleCompare("limit",option+1) == 0) in ImportImageCommand()
922 if (*option == '+') in ImportImageCommand()
926 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
934 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
938 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
941 if (LocaleCompare("list",option+1) == 0) in ImportImageCommand()
946 if (*option == '+') in ImportImageCommand()
950 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
959 if (LocaleCompare("log",option+1) == 0) in ImportImageCommand()
961 if (*option == '+') in ImportImageCommand()
965 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
968 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
972 if (LocaleCompare("monitor",option+1) == 0) in ImportImageCommand()
974 if (LocaleCompare("monochrome",option+1) == 0) in ImportImageCommand()
976 if (*option == '+') in ImportImageCommand()
982 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
986 if (LocaleCompare("negate",option+1) == 0) in ImportImageCommand()
988 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
992 if (LocaleCompare("page",option+1) == 0) in ImportImageCommand()
994 if (*option == '+') in ImportImageCommand()
998 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1004 if (LocaleCompare("pause",option+1) == 0) in ImportImageCommand()
1007 if (*option == '+') in ImportImageCommand()
1011 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1013 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1017 if (LocaleCompare("ping",option+1) == 0) in ImportImageCommand()
1019 if (LocaleCompare("pointsize",option+1) == 0) in ImportImageCommand()
1021 if (*option == '+') in ImportImageCommand()
1025 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1027 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1030 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1034 if (LocaleCompare("quality",option+1) == 0) in ImportImageCommand()
1036 if (*option == '+') in ImportImageCommand()
1040 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1042 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1045 if (LocaleCompare("quantize",option+1) == 0) in ImportImageCommand()
1050 if (*option == '+') in ImportImageCommand()
1054 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1062 if (LocaleCompare("quiet",option+1) == 0) in ImportImageCommand()
1064 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1068 if (LocaleCompare("regard-warnings",option+1) == 0) in ImportImageCommand()
1070 if (LocaleCompare("repage",option+1) == 0) in ImportImageCommand()
1072 if (*option == '+') in ImportImageCommand()
1076 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1078 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1081 if (LocaleCompare("resize",option+1) == 0) in ImportImageCommand()
1083 if (*option == '+') in ImportImageCommand()
1087 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1089 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1092 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in ImportImageCommand()
1094 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
1097 if (LocaleCompare("rotate",option+1) == 0) in ImportImageCommand()
1101 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1103 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1106 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1110 if (LocaleCompare("sampling-factor",option+1) == 0) in ImportImageCommand()
1112 if (*option == '+') in ImportImageCommand()
1116 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1118 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1121 if (LocaleCompare("scene",option+1) == 0) in ImportImageCommand()
1123 if (*option == '+') in ImportImageCommand()
1127 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1129 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1132 if (LocaleCompare("set",option+1) == 0) in ImportImageCommand()
1136 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1137 if (*option == '+') in ImportImageCommand()
1141 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1144 if (LocaleCompare("screen",option+1) == 0) in ImportImageCommand()
1146 ximage_info.screen=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
1149 if (LocaleCompare("seed",option+1) == 0) in ImportImageCommand()
1151 if (*option == '+') in ImportImageCommand()
1155 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1157 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1160 if (LocaleCompare("silent",option+1) == 0) in ImportImageCommand()
1162 ximage_info.silent=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
1165 if (LocaleCompare("snaps",option+1) == 0) in ImportImageCommand()
1170 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1172 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1176 if (LocaleCompare("strip",option+1) == 0) in ImportImageCommand()
1178 if (LocaleCompare("support",option+1) == 0) in ImportImageCommand()
1183 if (LocaleCompare("synchronize",option+1) == 0) in ImportImageCommand()
1185 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1189 if (LocaleCompare("taint",option+1) == 0) in ImportImageCommand()
1191 if (LocaleCompare("thumbnail",option+1) == 0) in ImportImageCommand()
1193 if (*option == '+') in ImportImageCommand()
1197 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1199 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1202 if (LocaleCompare("transparent",option+1) == 0) in ImportImageCommand()
1206 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1209 if (LocaleCompare("transparent-color",option+1) == 0) in ImportImageCommand()
1211 if (*option == '+') in ImportImageCommand()
1215 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1218 if (LocaleCompare("treedepth",option+1) == 0) in ImportImageCommand()
1221 if (*option == '+') in ImportImageCommand()
1225 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1227 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1231 if (LocaleCompare("trim",option+1) == 0) in ImportImageCommand()
1233 if (LocaleCompare("type",option+1) == 0) in ImportImageCommand()
1238 if (*option == '+') in ImportImageCommand()
1242 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1248 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1254 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1260 if (LocaleCompare("verbose",option+1) == 0) in ImportImageCommand()
1262 if ((LocaleCompare("version",option+1) == 0) || in ImportImageCommand()
1263 (LocaleCompare("-version",option+1) == 0)) in ImportImageCommand()
1268 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1273 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1275 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in ImportImageCommand()