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 (LocaleCompare("display",option+1) == 0) in AnimateImageCommand()
354 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
357 if ((LocaleCompare("help",option+1) == 0) || in AnimateImageCommand()
358 (LocaleCompare("-help",option+1) == 0)) in AnimateImageCommand()
394 option=argv[i]; in AnimateImageCommand()
400 option="logo:"; in AnimateImageCommand()
402 option="-"; in AnimateImageCommand()
403 if (LocaleCompare(option,"(") == 0) in AnimateImageCommand()
408 option); in AnimateImageCommand()
412 if (LocaleCompare(option,")") == 0) in AnimateImageCommand()
416 ThrowAnimateException(OptionError,"UnableToParseExpression",option); in AnimateImageCommand()
420 if (IsCommandOption(option) == MagickFalse) in AnimateImageCommand()
432 filename=option; in AnimateImageCommand()
435 option=argv[++i]; in AnimateImageCommand()
436 filename=option; in AnimateImageCommand()
450 switch (*(option+1)) in AnimateImageCommand()
454 if (LocaleCompare("alpha",option+1) == 0) in AnimateImageCommand()
459 if (*option == '+') in AnimateImageCommand()
463 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
470 if (LocaleCompare("alpha-color",option+1) == 0) in AnimateImageCommand()
472 if (*option == '+') in AnimateImageCommand()
476 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
480 if (LocaleCompare("authenticate",option+1) == 0) in AnimateImageCommand()
482 if (*option == '+') in AnimateImageCommand()
486 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
489 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
493 if (LocaleCompare("backdrop",option+1) == 0) in AnimateImageCommand()
495 resource_info.backdrop=(*option == '-') ? MagickTrue : MagickFalse; in AnimateImageCommand()
498 if (LocaleCompare("background",option+1) == 0) in AnimateImageCommand()
500 if (*option == '+') in AnimateImageCommand()
504 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
508 if (LocaleCompare("bordercolor",option+1) == 0) in AnimateImageCommand()
510 if (*option == '+') in AnimateImageCommand()
514 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
518 if (LocaleCompare("borderwidth",option+1) == 0) in AnimateImageCommand()
521 if (*option == '+') in AnimateImageCommand()
525 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
530 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
534 if (LocaleCompare("cache",option+1) == 0) in AnimateImageCommand()
536 if (*option == '+') in AnimateImageCommand()
540 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
542 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
545 if (LocaleCompare("channel",option+1) == 0) in AnimateImageCommand()
550 if (*option == '+') in AnimateImageCommand()
554 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
561 if (LocaleCompare("clone",option+1) == 0) in AnimateImageCommand()
570 ThrowAnimateException(ImageError,"UnableToCloneImage",option); in AnimateImageCommand()
572 if (*option == '+') in AnimateImageCommand()
578 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
580 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
584 ThrowAnimateException(OptionError,"NoSuchImage",option); in AnimateImageCommand()
588 if (LocaleCompare("coalesce",option+1) == 0) in AnimateImageCommand()
590 if (LocaleCompare("colormap",option+1) == 0) in AnimateImageCommand()
593 if (*option == '+') in AnimateImageCommand()
597 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
608 if (LocaleCompare("colors",option+1) == 0) in AnimateImageCommand()
611 if (*option == '+') in AnimateImageCommand()
615 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
617 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
621 if (LocaleCompare("colorspace",option+1) == 0) in AnimateImageCommand()
626 if (*option == '+') in AnimateImageCommand()
630 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
638 if (LocaleCompare("concurrent",option+1) == 0) in AnimateImageCommand()
640 if (LocaleCompare("crop",option+1) == 0) in AnimateImageCommand()
642 if (*option == '+') in AnimateImageCommand()
646 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
648 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
651 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
655 if (LocaleCompare("debug",option+1) == 0) in AnimateImageCommand()
660 if (*option == '+') in AnimateImageCommand()
664 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
672 if (LocaleCompare("decipher",option+1) == 0) in AnimateImageCommand()
674 if (*option == '+') in AnimateImageCommand()
678 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
681 if (LocaleCompare("define",option+1) == 0) in AnimateImageCommand()
685 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
686 if (*option == '+') in AnimateImageCommand()
698 if (LocaleCompare("delay",option+1) == 0) in AnimateImageCommand()
700 if (*option == '+') in AnimateImageCommand()
704 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
706 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
709 if (LocaleCompare("density",option+1) == 0) in AnimateImageCommand()
711 if (*option == '+') in AnimateImageCommand()
715 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
717 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
720 if (LocaleCompare("depth",option+1) == 0) in AnimateImageCommand()
722 if (*option == '+') in AnimateImageCommand()
726 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
728 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
731 if (LocaleCompare("display",option+1) == 0) in AnimateImageCommand()
733 if (*option == '+') in AnimateImageCommand()
737 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
740 if (LocaleCompare("dispose",option+1) == 0) in AnimateImageCommand()
745 if (*option == '+') in AnimateImageCommand()
749 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
756 if (LocaleCompare("dither",option+1) == 0) in AnimateImageCommand()
762 if (*option == '+') in AnimateImageCommand()
766 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
774 if (LocaleCompare("duration",option+1) == 0) in AnimateImageCommand()
776 if (*option == '+') in AnimateImageCommand()
780 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
782 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
785 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
789 if (LocaleCompare("extract",option+1) == 0) in AnimateImageCommand()
791 if (*option == '+') in AnimateImageCommand()
795 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
797 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
800 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
804 if (LocaleCompare("filter",option+1) == 0) in AnimateImageCommand()
809 if (*option == '+') in AnimateImageCommand()
813 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
820 if (LocaleCompare("flatten",option+1) == 0) in AnimateImageCommand()
822 if (LocaleCompare("font",option+1) == 0) in AnimateImageCommand()
824 if (*option == '+') in AnimateImageCommand()
828 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
833 if (LocaleCompare("foreground",option+1) == 0) in AnimateImageCommand()
835 if (*option == '+') in AnimateImageCommand()
839 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
843 if (LocaleCompare("format",option+1) == 0) in AnimateImageCommand()
845 if (*option == '+') in AnimateImageCommand()
849 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
852 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
856 if (LocaleCompare("gamma",option+1) == 0) in AnimateImageCommand()
860 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
862 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
865 if (LocaleCompare("geometry",option+1) == 0) in AnimateImageCommand()
868 if (*option == '+') in AnimateImageCommand()
872 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
874 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
878 if (LocaleCompare("gravity",option+1) == 0) in AnimateImageCommand()
883 if (*option == '+') in AnimateImageCommand()
887 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
895 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
899 if ((LocaleCompare("help",option+1) == 0) || in AnimateImageCommand()
900 (LocaleCompare("-help",option+1) == 0)) in AnimateImageCommand()
902 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
906 if (LocaleCompare("iconGeometry",option+1) == 0) in AnimateImageCommand()
909 if (*option == '+') in AnimateImageCommand()
913 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
915 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
919 if (LocaleCompare("iconic",option+1) == 0) in AnimateImageCommand()
921 resource_info.iconic=(*option == '-') ? MagickTrue : MagickFalse; in AnimateImageCommand()
924 if (LocaleCompare("identify",option+1) == 0) in AnimateImageCommand()
926 if (LocaleCompare("immutable",option+1) == 0) in AnimateImageCommand()
928 resource_info.immutable=(*option == '-') ? MagickTrue : MagickFalse; in AnimateImageCommand()
931 if (LocaleCompare("interlace",option+1) == 0) in AnimateImageCommand()
936 if (*option == '+') in AnimateImageCommand()
940 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
948 if (LocaleCompare("interpolate",option+1) == 0) in AnimateImageCommand()
953 if (*option == '+') in AnimateImageCommand()
957 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
965 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
969 if (LocaleCompare("label",option+1) == 0) in AnimateImageCommand()
971 if (*option == '+') in AnimateImageCommand()
975 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
978 if (LocaleCompare("limit",option+1) == 0) in AnimateImageCommand()
989 if (*option == '+') in AnimateImageCommand()
993 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1001 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1005 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1008 if (LocaleCompare("list",option+1) == 0) in AnimateImageCommand()
1013 if (*option == '+') in AnimateImageCommand()
1017 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1026 if (LocaleCompare("log",option+1) == 0) in AnimateImageCommand()
1028 if (*option == '+') in AnimateImageCommand()
1033 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1036 if (LocaleCompare("loop",option+1) == 0) in AnimateImageCommand()
1038 if (*option == '+') in AnimateImageCommand()
1042 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1044 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1047 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1051 if (LocaleCompare("map",option+1) == 0) in AnimateImageCommand()
1054 if (*option == '+') in AnimateImageCommand()
1059 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1063 if (LocaleCompare("matte",option+1) == 0) in AnimateImageCommand()
1065 if (LocaleCompare("monitor",option+1) == 0) in AnimateImageCommand()
1067 if (LocaleCompare("monochrome",option+1) == 0) in AnimateImageCommand()
1069 if (*option == '+') in AnimateImageCommand()
1075 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1079 if (LocaleCompare("name",option+1) == 0) in AnimateImageCommand()
1082 if (*option == '+') in AnimateImageCommand()
1086 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1090 if (LocaleCompare("noop",option+1) == 0) in AnimateImageCommand()
1092 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1096 if (LocaleCompare("pause",option+1) == 0) in AnimateImageCommand()
1099 if (*option == '+') in AnimateImageCommand()
1103 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1105 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1109 if (LocaleCompare("page",option+1) == 0) in AnimateImageCommand()
1111 if (*option == '+') in AnimateImageCommand()
1115 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1118 if (LocaleCompare("profile",option+1) == 0) in AnimateImageCommand()
1122 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1125 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1129 if (LocaleCompare("quantize",option+1) == 0) in AnimateImageCommand()
1134 if (*option == '+') in AnimateImageCommand()
1138 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1146 if (LocaleCompare("quiet",option+1) == 0) in AnimateImageCommand()
1148 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1152 if (LocaleCompare("regard-warnings",option+1) == 0) in AnimateImageCommand()
1154 if (LocaleCompare("remote",option+1) == 0) in AnimateImageCommand()
1158 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1164 if (LocaleCompare("repage",option+1) == 0) in AnimateImageCommand()
1166 if (*option == '+') in AnimateImageCommand()
1170 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1172 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1175 if (LocaleCompare("resample",option+1) == 0) in AnimateImageCommand()
1177 if (*option == '+') in AnimateImageCommand()
1181 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1183 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1186 if (LocaleCompare("resize",option+1) == 0) in AnimateImageCommand()
1188 if (*option == '+') in AnimateImageCommand()
1192 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1194 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1197 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in AnimateImageCommand()
1199 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in AnimateImageCommand()
1202 if (LocaleCompare("rotate",option+1) == 0) in AnimateImageCommand()
1206 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1208 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1211 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1215 if (LocaleCompare("sampling-factor",option+1) == 0) in AnimateImageCommand()
1217 if (*option == '+') in AnimateImageCommand()
1221 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1223 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1226 if (LocaleCompare("seed",option+1) == 0) in AnimateImageCommand()
1228 if (*option == '+') in AnimateImageCommand()
1232 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1234 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1237 if (LocaleCompare("scenes",option+1) == 0) /* deprecated */ in AnimateImageCommand()
1239 if (*option == '+') in AnimateImageCommand()
1243 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1245 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1248 if (LocaleCompare("set",option+1) == 0) in AnimateImageCommand()
1252 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1253 if (*option == '+') in AnimateImageCommand()
1257 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1260 if (LocaleCompare("shared-memory",option+1) == 0) in AnimateImageCommand()
1262 resource_info.use_shared_memory=(*option == '-') ? MagickTrue : in AnimateImageCommand()
1266 if (LocaleCompare("size",option+1) == 0) in AnimateImageCommand()
1268 if (*option == '+') in AnimateImageCommand()
1272 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1274 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1277 if (LocaleCompare("strip",option+1) == 0) in AnimateImageCommand()
1279 if (LocaleCompare("support",option+1) == 0) in AnimateImageCommand()
1284 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1288 if (LocaleCompare("text-font",option+1) == 0) in AnimateImageCommand()
1291 if (*option == '+') in AnimateImageCommand()
1295 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1300 if (LocaleCompare("thumbnail",option+1) == 0) in AnimateImageCommand()
1302 if (*option == '+') in AnimateImageCommand()
1306 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1308 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1311 if (LocaleCompare("title",option+1) == 0) in AnimateImageCommand()
1314 if (*option == '+') in AnimateImageCommand()
1318 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1322 if (LocaleCompare("transparent-color",option+1) == 0) in AnimateImageCommand()
1324 if (*option == '+') in AnimateImageCommand()
1328 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1331 if (LocaleCompare("treedepth",option+1) == 0) in AnimateImageCommand()
1334 if (*option == '+') in AnimateImageCommand()
1338 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1340 ThrowAnimateInvalidArgumentException(option,argv[i]); in AnimateImageCommand()
1344 if (LocaleCompare("trim",option+1) == 0) in AnimateImageCommand()
1346 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1350 if (LocaleCompare("verbose",option+1) == 0) in AnimateImageCommand()
1352 if ((LocaleCompare("version",option+1) == 0) || in AnimateImageCommand()
1353 (LocaleCompare("-version",option+1) == 0)) in AnimateImageCommand()
1358 if (LocaleCompare("virtual-pixel",option+1) == 0) in AnimateImageCommand()
1363 if (*option == '+') in AnimateImageCommand()
1367 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1375 if (LocaleCompare("visual",option+1) == 0) in AnimateImageCommand()
1378 if (*option == '+') in AnimateImageCommand()
1382 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1386 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1390 if (LocaleCompare("window",option+1) == 0) in AnimateImageCommand()
1393 if (*option == '+') in AnimateImageCommand()
1397 ThrowAnimateException(OptionError,"MissingArgument",option); in AnimateImageCommand()
1401 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1406 ThrowAnimateException(OptionError,"UnrecognizedOption",option); in AnimateImageCommand()
1408 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in AnimateImageCommand()