Lines Matching refs:option
247 #define ThrowAnimateException(asperity,tag,option) \ in AnimateImageCommand() argument
250 option); \ in AnimateImageCommand()
254 #define ThrowAnimateInvalidArgumentException(option,argument) \ in AnimateImageCommand() argument
257 "InvalidArgument","'%s': %s",option,argument); \ in AnimateImageCommand()
267 *option; in AnimateImageCommand() local
312 option=argv[1]; in AnimateImageCommand()
313 if ((LocaleCompare("version",option+1) == 0) || in AnimateImageCommand()
314 (LocaleCompare("-version",option+1) == 0)) in AnimateImageCommand()
326 option=(char *) NULL; in AnimateImageCommand()
346 option=argv[i]; in AnimateImageCommand()
347 if (IsCommandOption(option) == MagickFalse) in AnimateImageCommand()
349 if (LocaleCompare("display",option+1) == 0) in AnimateImageCommand()
356 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
359 if ((LocaleCompare("help",option+1) == 0) || in AnimateImageCommand()
360 (LocaleCompare("-help",option+1) == 0)) in AnimateImageCommand()
396 option=argv[i]; in AnimateImageCommand()
402 option="logo:"; in AnimateImageCommand()
404 option="-"; in AnimateImageCommand()
405 if (LocaleCompare(option,"(") == 0) in AnimateImageCommand()
410 option); in AnimateImageCommand()
414 if (LocaleCompare(option,")") == 0) in AnimateImageCommand()
418 ThrowAnimateException(OptionError,"UnableToParseExpression",option); in AnimateImageCommand()
422 if (IsCommandOption(option) == MagickFalse) in AnimateImageCommand()
434 filename=option; in AnimateImageCommand()
437 option=argv[++i]; in AnimateImageCommand()
438 filename=option; in AnimateImageCommand()
452 switch (*(option+1)) in AnimateImageCommand()
456 if (LocaleCompare("alpha",option+1) == 0) in AnimateImageCommand()
461 if (*option == '+') in AnimateImageCommand()
465 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
473 if (LocaleCompare("authenticate",option+1) == 0) in AnimateImageCommand()
475 if (*option == '+') in AnimateImageCommand()
479 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
482 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
486 if (LocaleCompare("backdrop",option+1) == 0) in AnimateImageCommand()
488 resource_info.backdrop=(*option == '-') ? MagickTrue : MagickFalse; in AnimateImageCommand()
491 if (LocaleCompare("background",option+1) == 0) in AnimateImageCommand()
493 if (*option == '+') in AnimateImageCommand()
497 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
501 if (LocaleCompare("bordercolor",option+1) == 0) in AnimateImageCommand()
503 if (*option == '+') in AnimateImageCommand()
507 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
511 if (LocaleCompare("borderwidth",option+1) == 0) in AnimateImageCommand()
514 if (*option == '+') in AnimateImageCommand()
518 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
523 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
527 if (LocaleCompare("cache",option+1) == 0) in AnimateImageCommand()
529 if (*option == '+') in AnimateImageCommand()
533 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
535 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
538 if (LocaleCompare("channel",option+1) == 0) in AnimateImageCommand()
543 if (*option == '+') in AnimateImageCommand()
547 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
554 if (LocaleCompare("clone",option+1) == 0) in AnimateImageCommand()
563 ThrowAnimateException(ImageError,"UnableToCloneImage",option); in AnimateImageCommand()
565 if (*option == '+') in AnimateImageCommand()
571 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
573 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
577 ThrowAnimateException(OptionError,"NoSuchImage",option); in AnimateImageCommand()
581 if (LocaleCompare("coalesce",option+1) == 0) in AnimateImageCommand()
583 if (LocaleCompare("colormap",option+1) == 0) in AnimateImageCommand()
586 if (*option == '+') in AnimateImageCommand()
590 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
601 if (LocaleCompare("colors",option+1) == 0) in AnimateImageCommand()
604 if (*option == '+') in AnimateImageCommand()
608 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
610 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
614 if (LocaleCompare("colorspace",option+1) == 0) in AnimateImageCommand()
619 if (*option == '+') in AnimateImageCommand()
623 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
631 if (LocaleCompare("concurrent",option+1) == 0) in AnimateImageCommand()
633 if (LocaleCompare("crop",option+1) == 0) in AnimateImageCommand()
635 if (*option == '+') in AnimateImageCommand()
639 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
641 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
644 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
648 if (LocaleCompare("debug",option+1) == 0) in AnimateImageCommand()
653 if (*option == '+') in AnimateImageCommand()
657 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
665 if (LocaleCompare("decipher",option+1) == 0) in AnimateImageCommand()
667 if (*option == '+') in AnimateImageCommand()
671 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
674 if (LocaleCompare("define",option+1) == 0) in AnimateImageCommand()
678 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
679 if (*option == '+') in AnimateImageCommand()
691 if (LocaleCompare("delay",option+1) == 0) in AnimateImageCommand()
693 if (*option == '+') in AnimateImageCommand()
697 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
699 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
702 if (LocaleCompare("density",option+1) == 0) in AnimateImageCommand()
704 if (*option == '+') in AnimateImageCommand()
708 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
710 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
713 if (LocaleCompare("depth",option+1) == 0) in AnimateImageCommand()
715 if (*option == '+') in AnimateImageCommand()
719 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
721 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
724 if (LocaleCompare("display",option+1) == 0) in AnimateImageCommand()
726 if (*option == '+') in AnimateImageCommand()
730 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
733 if (LocaleCompare("dispose",option+1) == 0) in AnimateImageCommand()
738 if (*option == '+') in AnimateImageCommand()
742 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
749 if (LocaleCompare("dither",option+1) == 0) in AnimateImageCommand()
755 if (*option == '+') in AnimateImageCommand()
759 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
767 if (LocaleCompare("duration",option+1) == 0) in AnimateImageCommand()
769 if (*option == '+') in AnimateImageCommand()
773 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
775 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
778 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
782 if (LocaleCompare("extract",option+1) == 0) in AnimateImageCommand()
784 if (*option == '+') in AnimateImageCommand()
788 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
790 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
793 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
797 if (LocaleCompare("filter",option+1) == 0) in AnimateImageCommand()
802 if (*option == '+') in AnimateImageCommand()
806 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
813 if (LocaleCompare("flatten",option+1) == 0) in AnimateImageCommand()
815 if (LocaleCompare("font",option+1) == 0) in AnimateImageCommand()
817 if (*option == '+') in AnimateImageCommand()
821 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
826 if (LocaleCompare("foreground",option+1) == 0) in AnimateImageCommand()
828 if (*option == '+') in AnimateImageCommand()
832 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
836 if (LocaleCompare("format",option+1) == 0) in AnimateImageCommand()
838 if (*option == '+') in AnimateImageCommand()
842 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
845 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
849 if (LocaleCompare("gamma",option+1) == 0) in AnimateImageCommand()
853 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
855 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
858 if (LocaleCompare("geometry",option+1) == 0) in AnimateImageCommand()
861 if (*option == '+') in AnimateImageCommand()
865 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
867 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
871 if (LocaleCompare("gravity",option+1) == 0) in AnimateImageCommand()
876 if (*option == '+') in AnimateImageCommand()
880 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
888 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
892 if ((LocaleCompare("help",option+1) == 0) || in AnimateImageCommand()
893 (LocaleCompare("-help",option+1) == 0)) in AnimateImageCommand()
895 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
899 if (LocaleCompare("iconGeometry",option+1) == 0) in AnimateImageCommand()
902 if (*option == '+') in AnimateImageCommand()
906 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
908 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
912 if (LocaleCompare("iconic",option+1) == 0) in AnimateImageCommand()
914 resource_info.iconic=(*option == '-') ? MagickTrue : MagickFalse; in AnimateImageCommand()
917 if (LocaleCompare("identify",option+1) == 0) in AnimateImageCommand()
919 if (LocaleCompare("immutable",option+1) == 0) in AnimateImageCommand()
921 resource_info.immutable=(*option == '-') ? MagickTrue : MagickFalse; in AnimateImageCommand()
924 if (LocaleCompare("interlace",option+1) == 0) in AnimateImageCommand()
929 if (*option == '+') in AnimateImageCommand()
933 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
941 if (LocaleCompare("interpolate",option+1) == 0) in AnimateImageCommand()
946 if (*option == '+') in AnimateImageCommand()
950 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
958 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
962 if (LocaleCompare("label",option+1) == 0) in AnimateImageCommand()
964 if (*option == '+') in AnimateImageCommand()
968 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
971 if (LocaleCompare("limit",option+1) == 0) in AnimateImageCommand()
982 if (*option == '+') in AnimateImageCommand()
986 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
994 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
998 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1001 if (LocaleCompare("list",option+1) == 0) in AnimateImageCommand()
1006 if (*option == '+') in AnimateImageCommand()
1010 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1019 if (LocaleCompare("log",option+1) == 0) in AnimateImageCommand()
1021 if (*option == '+') in AnimateImageCommand()
1026 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1029 if (LocaleCompare("loop",option+1) == 0) in AnimateImageCommand()
1031 if (*option == '+') in AnimateImageCommand()
1035 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1037 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1040 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1044 if (LocaleCompare("map",option+1) == 0) in AnimateImageCommand()
1047 if (*option == '+') in AnimateImageCommand()
1052 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1056 if (LocaleCompare("matte",option+1) == 0) in AnimateImageCommand()
1058 if (LocaleCompare("mattecolor",option+1) == 0) in AnimateImageCommand()
1060 if (*option == '+') in AnimateImageCommand()
1064 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1068 if (LocaleCompare("monitor",option+1) == 0) in AnimateImageCommand()
1070 if (LocaleCompare("monochrome",option+1) == 0) in AnimateImageCommand()
1072 if (*option == '+') in AnimateImageCommand()
1078 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1082 if (LocaleCompare("name",option+1) == 0) in AnimateImageCommand()
1085 if (*option == '+') in AnimateImageCommand()
1089 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1093 if (LocaleCompare("noop",option+1) == 0) in AnimateImageCommand()
1095 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1099 if (LocaleCompare("pause",option+1) == 0) in AnimateImageCommand()
1102 if (*option == '+') in AnimateImageCommand()
1106 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1108 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1112 if (LocaleCompare("page",option+1) == 0) in AnimateImageCommand()
1114 if (*option == '+') in AnimateImageCommand()
1118 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1121 if (LocaleCompare("profile",option+1) == 0) in AnimateImageCommand()
1125 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1128 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1132 if (LocaleCompare("quantize",option+1) == 0) in AnimateImageCommand()
1137 if (*option == '+') in AnimateImageCommand()
1141 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1149 if (LocaleCompare("quiet",option+1) == 0) in AnimateImageCommand()
1151 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1155 if (LocaleCompare("regard-warnings",option+1) == 0) in AnimateImageCommand()
1157 if (LocaleCompare("remote",option+1) == 0) in AnimateImageCommand()
1161 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1167 if (LocaleCompare("repage",option+1) == 0) in AnimateImageCommand()
1169 if (*option == '+') in AnimateImageCommand()
1173 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1175 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1178 if (LocaleCompare("resample",option+1) == 0) in AnimateImageCommand()
1180 if (*option == '+') in AnimateImageCommand()
1184 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1186 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1189 if (LocaleCompare("resize",option+1) == 0) in AnimateImageCommand()
1191 if (*option == '+') in AnimateImageCommand()
1195 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1197 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1200 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in AnimateImageCommand()
1202 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in AnimateImageCommand()
1205 if (LocaleCompare("rotate",option+1) == 0) in AnimateImageCommand()
1209 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1211 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1214 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1218 if (LocaleCompare("sampling-factor",option+1) == 0) in AnimateImageCommand()
1220 if (*option == '+') in AnimateImageCommand()
1224 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1226 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1229 if (LocaleCompare("seed",option+1) == 0) in AnimateImageCommand()
1231 if (*option == '+') in AnimateImageCommand()
1235 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1237 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1240 if (LocaleCompare("scenes",option+1) == 0) /* deprecated */ in AnimateImageCommand()
1242 if (*option == '+') in AnimateImageCommand()
1246 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1248 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1251 if (LocaleCompare("set",option+1) == 0) in AnimateImageCommand()
1255 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1256 if (*option == '+') in AnimateImageCommand()
1260 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1263 if (LocaleCompare("shared-memory",option+1) == 0) in AnimateImageCommand()
1265 resource_info.use_shared_memory=(*option == '-') ? MagickTrue : in AnimateImageCommand()
1269 if (LocaleCompare("size",option+1) == 0) in AnimateImageCommand()
1271 if (*option == '+') in AnimateImageCommand()
1275 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1277 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1280 if (LocaleCompare("strip",option+1) == 0) in AnimateImageCommand()
1282 if (LocaleCompare("support",option+1) == 0) in AnimateImageCommand()
1287 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1291 if (LocaleCompare("text-font",option+1) == 0) in AnimateImageCommand()
1294 if (*option == '+') in AnimateImageCommand()
1298 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1303 if (LocaleCompare("thumbnail",option+1) == 0) in AnimateImageCommand()
1305 if (*option == '+') in AnimateImageCommand()
1309 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1311 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1314 if (LocaleCompare("title",option+1) == 0) in AnimateImageCommand()
1317 if (*option == '+') in AnimateImageCommand()
1321 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1325 if (LocaleCompare("transparent-color",option+1) == 0) in AnimateImageCommand()
1327 if (*option == '+') in AnimateImageCommand()
1331 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1334 if (LocaleCompare("treedepth",option+1) == 0) in AnimateImageCommand()
1337 if (*option == '+') in AnimateImageCommand()
1341 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1343 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1347 if (LocaleCompare("trim",option+1) == 0) in AnimateImageCommand()
1349 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1353 if (LocaleCompare("verbose",option+1) == 0) in AnimateImageCommand()
1355 if ((LocaleCompare("version",option+1) == 0) || in AnimateImageCommand()
1356 (LocaleCompare("-version",option+1) == 0)) in AnimateImageCommand()
1361 if (LocaleCompare("virtual-pixel",option+1) == 0) in AnimateImageCommand()
1366 if (*option == '+') in AnimateImageCommand()
1370 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1378 if (LocaleCompare("visual",option+1) == 0) in AnimateImageCommand()
1381 if (*option == '+') in AnimateImageCommand()
1385 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1389 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1393 if (LocaleCompare("window",option+1) == 0) in AnimateImageCommand()
1396 if (*option == '+') in AnimateImageCommand()
1400 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1404 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1409 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1411 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in AnimateImageCommand()