Lines Matching refs:option
413 const char *option,const char *arg1n, const char *arg2n) in CLISettingOptionInfo() argument
427 #define IfSetOption (*option=='-') in CLISettingOptionInfo()
439 "- Setting Option: %s \"%s\" \"%s\"", option,arg1n,arg2n); in CLISettingOptionInfo()
455 CLIWandException(OptionWarning,"InterpretPropertyFailure",option); in CLISettingOptionInfo()
462 CLIWandException(OptionWarning,"InterpretPropertyFailure",option); in CLISettingOptionInfo()
471 switch (*(option+1)) in CLISettingOptionInfo()
475 if (LocaleCompare("adjoin",option+1) == 0) in CLISettingOptionInfo()
480 if (LocaleCompare("affine",option+1) == 0) in CLISettingOptionInfo()
489 if (LocaleCompare("alpha-color",option+1) == 0) in CLISettingOptionInfo()
492 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
497 if (LocaleCompare("antialias",option+1) == 0) in CLISettingOptionInfo()
504 if (LocaleCompare("attenuate",option+1) == 0) in CLISettingOptionInfo()
507 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
508 (void) SetImageOption(_image_info,option+1,ArgOption("1.0")); in CLISettingOptionInfo()
511 if (LocaleCompare("authenticate",option+1) == 0) in CLISettingOptionInfo()
513 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
516 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
520 if (LocaleCompare("background",option+1) == 0) in CLISettingOptionInfo()
534 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
539 if (LocaleCompare("bias",option+1) == 0) in CLISettingOptionInfo()
548 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
552 if (LocaleCompare("black-point-compensation",option+1) == 0) in CLISettingOptionInfo()
557 (void) SetImageOption(_image_info,option+1,ArgBooleanString); in CLISettingOptionInfo()
560 if (LocaleCompare("blue-primary",option+1) == 0) in CLISettingOptionInfo()
568 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
569 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
572 if (LocaleCompare("bordercolor",option+1) == 0) in CLISettingOptionInfo()
580 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
587 (void) DeleteImageOption(_image_info,option+1); in CLISettingOptionInfo()
594 if (LocaleCompare("box",option+1) == 0) in CLISettingOptionInfo()
600 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
604 if (LocaleCompare("cache",option+1) == 0) in CLISettingOptionInfo()
610 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
618 if (LocaleCompare("caption",option+1) == 0) in CLISettingOptionInfo()
620 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
623 if (LocaleCompare("colorspace",option+1) == 0) in CLISettingOptionInfo()
632 CLIWandExceptArgBreak(OptionError,"UnrecognizedColorspace",option, in CLISettingOptionInfo()
637 if (LocaleCompare("comment",option+1) == 0) in CLISettingOptionInfo()
639 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
642 if (LocaleCompare("compose",option+1) == 0) in CLISettingOptionInfo()
655 option,arg1); in CLISettingOptionInfo()
657 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
660 if (LocaleCompare("compress",option+1) == 0) in CLISettingOptionInfo()
676 option,arg1); in CLISettingOptionInfo()
678 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
681 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
685 if (LocaleCompare("debug",option+1) == 0) in CLISettingOptionInfo()
692 option,arg1); in CLISettingOptionInfo()
698 if (LocaleCompare("define",option+1) == 0) in CLISettingOptionInfo()
712 CLIWandExceptArgBreak(OptionError,"NoSuchOption",option,arg1); in CLISettingOptionInfo()
715 if (LocaleCompare("delay",option+1) == 0) in CLISettingOptionInfo()
722 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
723 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
726 if (LocaleCompare("density",option+1) == 0) in CLISettingOptionInfo()
734 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
735 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
740 if (LocaleCompare("depth",option+1) == 0) in CLISettingOptionInfo()
746 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
751 if (LocaleCompare("direction",option+1) == 0) in CLISettingOptionInfo()
758 option,arg1); in CLISettingOptionInfo()
760 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
763 if (LocaleCompare("display",option+1) == 0) in CLISettingOptionInfo()
769 if (LocaleCompare("dispose",option+1) == 0) in CLISettingOptionInfo()
776 option,arg1); in CLISettingOptionInfo()
777 (void) SetImageOption(_image_info,option+1,ArgOption("undefined")); in CLISettingOptionInfo()
780 if (LocaleCompare("dissimilarity-threshold",option+1) == 0) in CLISettingOptionInfo()
786 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
787 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
790 if (LocaleCompare("dither",option+1) == 0) in CLISettingOptionInfo()
797 (void) SetImageOption(_image_info,option+1,ArgOption("none")); in CLISettingOptionInfo()
804 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
808 if (LocaleCompare("encoding",option+1) == 0) in CLISettingOptionInfo()
811 (void) SetImageOption(_image_info,option+1,_draw_info->encoding); in CLISettingOptionInfo()
814 if (LocaleCompare("endian",option+1) == 0) in CLISettingOptionInfo()
821 option,arg1); in CLISettingOptionInfo()
824 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
827 if (LocaleCompare("extract",option+1) == 0) in CLISettingOptionInfo()
832 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
836 if (LocaleCompare("family",option+1) == 0) in CLISettingOptionInfo()
841 if (LocaleCompare("features",option+1) == 0) in CLISettingOptionInfo()
849 if (LocaleCompare("fill",option+1) == 0) in CLISettingOptionInfo()
866 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
881 if (LocaleCompare("filter",option+1) == 0) in CLISettingOptionInfo()
888 option,arg1); in CLISettingOptionInfo()
889 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
892 if (LocaleCompare("font",option+1) == 0) in CLISettingOptionInfo()
898 if (LocaleCompare("format",option+1) == 0) in CLISettingOptionInfo()
909 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
912 if (LocaleCompare("fuzz",option+1) == 0) in CLISettingOptionInfo()
923 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
926 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
929 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
933 if (LocaleCompare("gravity",option+1) == 0) in CLISettingOptionInfo()
940 option,arg1); in CLISettingOptionInfo()
942 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
945 if (LocaleCompare("green-primary",option+1) == 0) in CLISettingOptionInfo()
953 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
954 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
957 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
961 if (LocaleCompare("highlight-color",option+1) == 0) in CLISettingOptionInfo()
965 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
968 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
972 if (LocaleCompare("intensity",option+1) == 0) in CLISettingOptionInfo()
979 option,arg1); in CLISettingOptionInfo()
980 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
983 if (LocaleCompare("intent",option+1) == 0) in CLISettingOptionInfo()
993 option,arg1); in CLISettingOptionInfo()
994 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
997 if (LocaleCompare("interlace",option+1) == 0) in CLISettingOptionInfo()
1006 option,arg1); in CLISettingOptionInfo()
1008 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
1011 if (LocaleCompare("interline-spacing",option+1) == 0) in CLISettingOptionInfo()
1014 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1015 (void) SetImageOption(_image_info,option+1, ArgOption(NULL)); in CLISettingOptionInfo()
1020 if (LocaleCompare("interpolate",option+1) == 0) in CLISettingOptionInfo()
1027 option,arg1); in CLISettingOptionInfo()
1028 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
1031 if (LocaleCompare("interword-spacing",option+1) == 0) in CLISettingOptionInfo()
1034 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1035 (void) SetImageOption(_image_info,option+1, ArgOption(NULL)); in CLISettingOptionInfo()
1039 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1043 if (LocaleCompare("kerning",option+1) == 0) in CLISettingOptionInfo()
1046 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1047 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1051 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1055 if (LocaleCompare("label",option+1) == 0) in CLISettingOptionInfo()
1058 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1061 if (LocaleCompare("limit",option+1) == 0) in CLISettingOptionInfo()
1070 option,arg1); in CLISettingOptionInfo()
1076 if (LocaleCompare("log",option+1) == 0) in CLISettingOptionInfo()
1080 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1085 if (LocaleCompare("lowlight-color",option+1) == 0) in CLISettingOptionInfo()
1089 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1092 if (LocaleCompare("loop",option+1) == 0) in CLISettingOptionInfo()
1097 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1098 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
1101 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1105 if (LocaleCompare("metric",option+1) == 0) in CLISettingOptionInfo()
1112 option,arg1); in CLISettingOptionInfo()
1113 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1116 if (LocaleCompare("moments",option+1) == 0) in CLISettingOptionInfo()
1124 if (LocaleCompare("monitor",option+1) == 0) in CLISettingOptionInfo()
1130 if (LocaleCompare("monochrome",option+1) == 0) in CLISettingOptionInfo()
1138 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1142 if (LocaleCompare("orient",option+1) == 0) in CLISettingOptionInfo()
1153 option,arg1); in CLISettingOptionInfo()
1155 (void) SetImageOption(_image_info,option+1, ArgOption(NULL)); in CLISettingOptionInfo()
1158 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1162 if (LocaleCompare("page",option+1) == 0) in CLISettingOptionInfo()
1184 (void) DeleteImageOption(_image_info,option+1); in CLISettingOptionInfo()
1201 (void) SetImageOption(_image_info,option+1,page); in CLISettingOptionInfo()
1205 if (LocaleCompare("ping",option+1) == 0) in CLISettingOptionInfo()
1210 if (LocaleCompare("pointsize",option+1) == 0) in CLISettingOptionInfo()
1214 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1225 if (LocaleCompare("precision",option+1) == 0) in CLISettingOptionInfo()
1229 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1233 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1237 if (LocaleCompare("quality",option+1) == 0) in CLISettingOptionInfo()
1240 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1243 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1246 if (LocaleCompare("quantize",option+1) == 0) in CLISettingOptionInfo()
1253 option,arg1); in CLISettingOptionInfo()
1257 if (LocaleCompare("quiet",option+1) == 0) in CLISettingOptionInfo()
1274 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1278 if (LocaleCompare("red-primary",option+1) == 0) in CLISettingOptionInfo()
1286 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1287 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
1290 if (LocaleCompare("regard-warnings",option+1) == 0) in CLISettingOptionInfo()
1293 if (LocaleCompare("render",option+1) == 0) in CLISettingOptionInfo()
1299 if (LocaleCompare("respect-parenthesis",option+1) == 0) in CLISettingOptionInfo()
1302 (void) SetImageOption(_image_info,option+1,ArgBooleanString); in CLISettingOptionInfo()
1305 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1309 if (LocaleCompare("sampling-factor",option+1) == 0) in CLISettingOptionInfo()
1313 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1317 if (LocaleCompare("scene",option+1) == 0) in CLISettingOptionInfo()
1323 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1324 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1328 if (LocaleCompare("seed",option+1) == 0) in CLISettingOptionInfo()
1331 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1337 if (LocaleCompare("size",option+1) == 0) in CLISettingOptionInfo()
1345 if (LocaleCompare("stretch",option+1) == 0) in CLISettingOptionInfo()
1351 option,arg1); in CLISettingOptionInfo()
1355 if (LocaleCompare("stroke",option+1) == 0) in CLISettingOptionInfo()
1371 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
1386 if (LocaleCompare("strokewidth",option+1) == 0) in CLISettingOptionInfo()
1389 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1390 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1395 if (LocaleCompare("style",option+1) == 0) in CLISettingOptionInfo()
1401 option,arg1); in CLISettingOptionInfo()
1406 if (LocaleCompare("subimage-search",option+1) == 0) in CLISettingOptionInfo()
1410 (void) SetImageOption(_image_info,option+1,ArgBooleanString); in CLISettingOptionInfo()
1414 if (LocaleCompare("synchronize",option+1) == 0) in CLISettingOptionInfo()
1420 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1424 if (LocaleCompare("taint",option+1) == 0) in CLISettingOptionInfo()
1427 (void) SetImageOption(_image_info,option+1,ArgBooleanString); in CLISettingOptionInfo()
1430 if (LocaleCompare("texture",option+1) == 0) in CLISettingOptionInfo()
1439 if (LocaleCompare("tile",option+1) == 0) in CLISettingOptionInfo()
1447 if (LocaleCompare("tile-offset",option+1) == 0) in CLISettingOptionInfo()
1452 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1453 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
1456 if (LocaleCompare("transparent-color",option+1) == 0) in CLISettingOptionInfo()
1466 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1467 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1472 if (LocaleCompare("treedepth",option+1) == 0) in CLISettingOptionInfo()
1474 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1478 if (LocaleCompare("type",option+1) == 0) in CLISettingOptionInfo()
1485 option,arg1); in CLISettingOptionInfo()
1487 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1490 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1494 if (LocaleCompare("undercolor",option+1) == 0) in CLISettingOptionInfo()
1496 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1501 if (LocaleCompare("units",option+1) == 0) in CLISettingOptionInfo()
1511 option,arg1); in CLISettingOptionInfo()
1513 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1516 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1520 if (LocaleCompare("verbose",option+1) == 0) in CLISettingOptionInfo()
1525 (void) SetImageOption(_image_info,option+1,ArgBooleanString); in CLISettingOptionInfo()
1530 if (LocaleCompare("virtual-pixel",option+1) == 0) in CLISettingOptionInfo()
1539 option,arg1); in CLISettingOptionInfo()
1540 (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); in CLISettingOptionInfo()
1543 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1547 if (LocaleCompare("weight",option+1) == 0) in CLISettingOptionInfo()
1558 if (LocaleCompare("white-point",option+1) == 0) in CLISettingOptionInfo()
1565 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISettingOptionInfo()
1566 (void) SetImageOption(_image_info,option+1,arg1); in CLISettingOptionInfo()
1569 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1572 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISettingOptionInfo()
1644 const char *option, const char *arg1n, const char *arg2n, in CLISimpleOperatorImage() argument
1673 #define IfNormalOp (*option=='-') in CLISimpleOperatorImage()
1674 #define IfPlusOp (*option!='-') in CLISimpleOperatorImage()
1696 CLIWandException(OptionWarning,"InterpretPropertyFailure",option); in CLISimpleOperatorImage()
1703 CLIWandException(OptionWarning,"InterpretPropertyFailure",option); in CLISimpleOperatorImage()
1713 "CLISimpleOperatorImage: \"%s\" \"%s\" \"%s\"\n",option,arg1,arg2); in CLISimpleOperatorImage()
1719 switch (*(option+1)) in CLISimpleOperatorImage()
1723 if (LocaleCompare("adaptive-blur",option+1) == 0) in CLISimpleOperatorImage()
1727 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1734 if (LocaleCompare("adaptive-resize",option+1) == 0) in CLISimpleOperatorImage()
1738 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1744 if (LocaleCompare("adaptive-sharpen",option+1) == 0) in CLISimpleOperatorImage()
1748 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1755 if (LocaleCompare("alpha",option+1) == 0) in CLISimpleOperatorImage()
1760 option,arg1); in CLISimpleOperatorImage()
1765 if (LocaleCompare("annotate",option+1) == 0) in CLISimpleOperatorImage()
1773 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1792 if (LocaleCompare("auto-gamma",option+1) == 0) in CLISimpleOperatorImage()
1797 if (LocaleCompare("auto-level",option+1) == 0) in CLISimpleOperatorImage()
1802 if (LocaleCompare("auto-orient",option+1) == 0) in CLISimpleOperatorImage()
1807 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
1811 if (LocaleCompare("black-threshold",option+1) == 0) in CLISimpleOperatorImage()
1814 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1818 if (LocaleCompare("blue-shift",option+1) == 0) in CLISimpleOperatorImage()
1824 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1829 if (LocaleCompare("blur",option+1) == 0) in CLISimpleOperatorImage()
1833 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1840 if (LocaleCompare("border",option+1) == 0) in CLISimpleOperatorImage()
1850 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1859 if (LocaleCompare("brightness-contrast",option+1) == 0) in CLISimpleOperatorImage()
1873 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1882 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
1886 if (LocaleCompare("canny",option+1) == 0) in CLISimpleOperatorImage()
1890 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1906 if (LocaleCompare("cdl",option+1) == 0) in CLISimpleOperatorImage()
1922 if (LocaleCompare("channel",option+1) == 0) in CLISimpleOperatorImage()
1932 option,arg1); in CLISimpleOperatorImage()
1936 if (LocaleCompare("charcoal",option+1) == 0) in CLISimpleOperatorImage()
1940 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1949 if (LocaleCompare("chop",option+1) == 0) in CLISimpleOperatorImage()
1952 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
1957 if (LocaleCompare("clamp",option+1) == 0) in CLISimpleOperatorImage()
1962 if (LocaleCompare("clip",option+1) == 0) in CLISimpleOperatorImage()
1970 if (LocaleCompare("clip-mask",option+1) == 0) in CLISimpleOperatorImage()
2026 if (LocaleCompare("clip-path",option+1) == 0) in CLISimpleOperatorImage()
2032 if (LocaleCompare("colorize",option+1) == 0) in CLISimpleOperatorImage()
2035 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2039 if (LocaleCompare("color-matrix",option+1) == 0) in CLISimpleOperatorImage()
2046 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2051 if (LocaleCompare("colors",option+1) == 0) in CLISimpleOperatorImage()
2058 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2066 if (LocaleCompare("colorspace",option+1) == 0) in CLISimpleOperatorImage()
2083 if (LocaleCompare("connected-components",option+1) == 0) in CLISimpleOperatorImage()
2086 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2091 if (LocaleCompare("contrast",option+1) == 0) in CLISimpleOperatorImage()
2097 if (LocaleCompare("contrast-stretch",option+1) == 0) in CLISimpleOperatorImage()
2108 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2121 if (LocaleCompare("convolve",option+1) == 0) in CLISimpleOperatorImage()
2134 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2146 if (LocaleCompare("crop",option+1) == 0) in CLISimpleOperatorImage()
2150 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2154 if (LocaleCompare("cycle",option+1) == 0) in CLISimpleOperatorImage()
2157 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2162 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2166 if (LocaleCompare("decipher",option+1) == 0) in CLISimpleOperatorImage()
2174 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2180 if (LocaleCompare("depth",option+1) == 0) in CLISimpleOperatorImage()
2193 if (LocaleCompare("deskew",option+1) == 0) in CLISimpleOperatorImage()
2200 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2208 if (LocaleCompare("despeckle",option+1) == 0) in CLISimpleOperatorImage()
2213 if (LocaleCompare("distort",option+1) == 0) in CLISimpleOperatorImage()
2224 option,arg1); in CLISimpleOperatorImage()
2235 option,arg2); in CLISimpleOperatorImage()
2246 CLIWandExceptArgBreak(OptionError,"InvalidNumberList",option,arg2); in CLISimpleOperatorImage()
2253 if (LocaleCompare("draw",option+1) == 0) in CLISimpleOperatorImage()
2260 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2264 if (LocaleCompare("edge",option+1) == 0) in CLISimpleOperatorImage()
2268 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2272 if (LocaleCompare("emboss",option+1) == 0) in CLISimpleOperatorImage()
2276 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2283 if (LocaleCompare("encipher",option+1) == 0) in CLISimpleOperatorImage()
2297 if (LocaleCompare("enhance",option+1) == 0) in CLISimpleOperatorImage()
2302 if (LocaleCompare("equalize",option+1) == 0) in CLISimpleOperatorImage()
2307 if (LocaleCompare("evaluate",option+1) == 0) in CLISimpleOperatorImage()
2315 option,arg1); in CLISimpleOperatorImage()
2317 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg2); in CLISimpleOperatorImage()
2323 if (LocaleCompare("extent",option+1) == 0) in CLISimpleOperatorImage()
2326 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2335 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2339 if (LocaleCompare("flip",option+1) == 0) in CLISimpleOperatorImage()
2344 if (LocaleCompare("flop",option+1) == 0) in CLISimpleOperatorImage()
2349 if (LocaleCompare("floodfill",option+1) == 0) in CLISimpleOperatorImage()
2355 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2362 if (LocaleCompare("frame",option+1) == 0) in CLISimpleOperatorImage()
2379 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2392 if (LocaleCompare("function",option+1) == 0) in CLISimpleOperatorImage()
2403 option,arg1); in CLISimpleOperatorImage()
2407 CLIWandExceptArgBreak(OptionError,"InvalidNumberList",option,arg2); in CLISimpleOperatorImage()
2414 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2418 if (LocaleCompare("gamma",option+1) == 0) in CLISimpleOperatorImage()
2424 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2443 if (LocaleCompare("gaussian-blur",option+1) == 0) in CLISimpleOperatorImage()
2447 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2454 if (LocaleCompare("gaussian",option+1) == 0) in CLISimpleOperatorImage()
2459 if (LocaleCompare("geometry",option+1) == 0) in CLISimpleOperatorImage()
2474 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2483 if (LocaleCompare("grayscale",option+1) == 0) in CLISimpleOperatorImage()
2489 option,arg1); in CLISimpleOperatorImage()
2493 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2497 if (LocaleCompare("hough-lines",option+1) == 0) in CLISimpleOperatorImage()
2501 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2510 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2514 if (LocaleCompare("identify",option+1) == 0) in CLISimpleOperatorImage()
2530 option); in CLISimpleOperatorImage()
2535 if (LocaleCompare("implode",option+1) == 0) in CLISimpleOperatorImage()
2539 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2544 if (LocaleCompare("interpolative-resize",option+1) == 0) in CLISimpleOperatorImage()
2549 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2555 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2559 if (LocaleCompare("kuwahara",option+1) == 0) in CLISimpleOperatorImage()
2566 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2573 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2577 if (LocaleCompare("lat",option+1) == 0) in CLISimpleOperatorImage()
2581 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2591 if (LocaleCompare("level",option+1) == 0) in CLISimpleOperatorImage()
2603 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2624 if (LocaleCompare("level-colors",option+1) == 0) in CLISimpleOperatorImage()
2663 if (LocaleCompare("linear-stretch",option+1) == 0) in CLISimpleOperatorImage()
2674 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2690 if (LocaleCompare("liquid-rescale",option+1) == 0) in CLISimpleOperatorImage()
2694 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2704 if (LocaleCompare("local-contrast",option+1) == 0) in CLISimpleOperatorImage()
2718 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2722 if (LocaleCompare("magnify",option+1) == 0) in CLISimpleOperatorImage()
2727 if (LocaleCompare("map",option+1) == 0) in CLISimpleOperatorImage()
2733 if (LocaleCompare("mask",option+1) == 0) in CLISimpleOperatorImage()
2740 if (LocaleCompare("matte",option+1) == 0) in CLISimpleOperatorImage()
2747 if (LocaleCompare("mean-shift",option+1) == 0) in CLISimpleOperatorImage()
2751 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2762 if (LocaleCompare("median",option+1) == 0) in CLISimpleOperatorImage()
2768 if (LocaleCompare("mode",option+1) == 0) in CLISimpleOperatorImage()
2775 if (LocaleCompare("modulate",option+1) == 0) in CLISimpleOperatorImage()
2778 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2782 if (LocaleCompare("monitor",option+1) == 0) in CLISimpleOperatorImage()
2788 if (LocaleCompare("monochrome",option+1) == 0) in CLISimpleOperatorImage()
2793 if (LocaleCompare("morphology",option+1) == 0) in CLISimpleOperatorImage()
2811 CLIWandExceptArgBreak(OptionError,"UnrecognizedFunction",option, in CLISimpleOperatorImage()
2821 CLIWandExceptArgBreak(OptionError,"UnabletoParseKernel",option,arg2); in CLISimpleOperatorImage()
2827 if (LocaleCompare("motion-blur",option+1) == 0) in CLISimpleOperatorImage()
2831 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2838 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2842 if (LocaleCompare("negate",option+1) == 0) in CLISimpleOperatorImage()
2847 if (LocaleCompare("noise",option+1) == 0) in CLISimpleOperatorImage()
2864 option,arg1); in CLISimpleOperatorImage()
2873 if (LocaleCompare("normalize",option+1) == 0) in CLISimpleOperatorImage()
2878 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2882 if (LocaleCompare("opaque",option+1) == 0) in CLISimpleOperatorImage()
2892 if (LocaleCompare("ordered-dither",option+1) == 0) in CLISimpleOperatorImage()
2897 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
2901 if (LocaleCompare("paint",option+1) == 0) in CLISimpleOperatorImage()
2905 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2910 if (LocaleCompare("perceptible",option+1) == 0) in CLISimpleOperatorImage()
2916 if (LocaleCompare("polaroid",option+1) == 0) in CLISimpleOperatorImage()
2935 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2943 if (LocaleCompare("posterize",option+1) == 0) in CLISimpleOperatorImage()
2947 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
2952 if (LocaleCompare("preview",option+1) == 0) in CLISimpleOperatorImage()
2961 option,arg1); in CLISimpleOperatorImage()
2965 if (LocaleCompare("profile",option+1) == 0) in CLISimpleOperatorImage()
3025 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
3029 if (LocaleCompare("rotational-blur",option+1) == 0) in CLISimpleOperatorImage()
3033 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3037 if (LocaleCompare("raise",option+1) == 0) in CLISimpleOperatorImage()
3040 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3045 if (LocaleCompare("random-threshold",option+1) == 0) in CLISimpleOperatorImage()
3052 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3069 if (LocaleCompare("read-mask",option+1) == 0) in CLISimpleOperatorImage()
3089 if (LocaleCompare("recolor",option+1) == 0) in CLISimpleOperatorImage()
3094 if (LocaleCompare("remap",option+1) == 0) in CLISimpleOperatorImage()
3107 if (LocaleCompare("repage",option+1) == 0) in CLISimpleOperatorImage()
3112 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option, in CLISimpleOperatorImage()
3120 if (LocaleCompare("resample",option+1) == 0) in CLISimpleOperatorImage()
3125 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3132 if (LocaleCompare("resize",option+1) == 0) in CLISimpleOperatorImage()
3135 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3141 if (LocaleCompare("roll",option+1) == 0) in CLISimpleOperatorImage()
3144 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3149 if (LocaleCompare("rotate",option+1) == 0) in CLISimpleOperatorImage()
3153 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3161 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
3165 if (LocaleCompare("sample",option+1) == 0) in CLISimpleOperatorImage()
3169 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3175 if (LocaleCompare("scale",option+1) == 0) in CLISimpleOperatorImage()
3179 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3185 if (LocaleCompare("segment",option+1) == 0) in CLISimpleOperatorImage()
3189 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3197 if (LocaleCompare("selective-blur",option+1) == 0) in CLISimpleOperatorImage()
3201 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3210 if (LocaleCompare("separate",option+1) == 0) in CLISimpleOperatorImage()
3217 if (LocaleCompare("sepia-tone",option+1) == 0) in CLISimpleOperatorImage()
3220 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3225 if (LocaleCompare("shade",option+1) == 0) in CLISimpleOperatorImage()
3229 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3234 if (LocaleCompare("shadow",option+1) == 0) in CLISimpleOperatorImage()
3238 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3250 if (LocaleCompare("sharpen",option+1) == 0) in CLISimpleOperatorImage()
3254 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3263 if (LocaleCompare("shave",option+1) == 0) in CLISimpleOperatorImage()
3266 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3271 if (LocaleCompare("shear",option+1) == 0) in CLISimpleOperatorImage()
3275 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3282 if (LocaleCompare("sigmoidal-contrast",option+1) == 0) in CLISimpleOperatorImage()
3286 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3296 if (LocaleCompare("sketch",option+1) == 0) in CLISimpleOperatorImage()
3300 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3307 if (LocaleCompare("solarize",option+1) == 0) in CLISimpleOperatorImage()
3310 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3315 if (LocaleCompare("sparse-color",option+1) == 0) in CLISimpleOperatorImage()
3320 option,arg1); in CLISimpleOperatorImage()
3325 if (LocaleCompare("splice",option+1) == 0) in CLISimpleOperatorImage()
3328 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3333 if (LocaleCompare("spread",option+1) == 0) in CLISimpleOperatorImage()
3337 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg2); in CLISimpleOperatorImage()
3342 if (LocaleCompare("statistic",option+1) == 0) in CLISimpleOperatorImage()
3347 option,arg1); in CLISimpleOperatorImage()
3350 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg2); in CLISimpleOperatorImage()
3358 if (LocaleCompare("strip",option+1) == 0) in CLISimpleOperatorImage()
3363 if (LocaleCompare("swirl",option+1) == 0) in CLISimpleOperatorImage()
3367 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3372 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
3376 if (LocaleCompare("threshold",option+1) == 0) in CLISimpleOperatorImage()
3384 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3390 if (LocaleCompare("thumbnail",option+1) == 0) in CLISimpleOperatorImage()
3393 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3399 if (LocaleCompare("tint",option+1) == 0) in CLISimpleOperatorImage()
3402 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3406 if (LocaleCompare("transform",option+1) == 0) in CLISimpleOperatorImage()
3412 if (LocaleCompare("transparent",option+1) == 0) in CLISimpleOperatorImage()
3422 if (LocaleCompare("transpose",option+1) == 0) in CLISimpleOperatorImage()
3427 if (LocaleCompare("transverse",option+1) == 0) in CLISimpleOperatorImage()
3432 if (LocaleCompare("trim",option+1) == 0) in CLISimpleOperatorImage()
3437 if (LocaleCompare("type",option+1) == 0) in CLISimpleOperatorImage()
3443 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
3447 if (LocaleCompare("unique",option+1) == 0) in CLISimpleOperatorImage()
3461 if (LocaleCompare("unique-colors",option+1) == 0) in CLISimpleOperatorImage()
3466 if (LocaleCompare("unsharp",option+1) == 0) in CLISimpleOperatorImage()
3470 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3481 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
3485 if (LocaleCompare("verbose",option+1) == 0) in CLISimpleOperatorImage()
3491 (void) SetImageArtifact(_image,option+1, in CLISimpleOperatorImage()
3495 if (LocaleCompare("vignette",option+1) == 0) in CLISimpleOperatorImage()
3499 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3516 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
3520 if (LocaleCompare("wave",option+1) == 0) in CLISimpleOperatorImage()
3524 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3531 if (LocaleCompare("wavelet-denoise",option+1) == 0) in CLISimpleOperatorImage()
3535 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3547 if (LocaleCompare("white-threshold",option+1) == 0) in CLISimpleOperatorImage()
3550 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLISimpleOperatorImage()
3554 if (LocaleCompare("write-mask",option+1) == 0) in CLISimpleOperatorImage()
3574 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
3577 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLISimpleOperatorImage()
3603 const char *option,const char *arg1,const char *arg2,ExceptionInfo *exception) in CLISimpleOperatorImages() argument
3618 "- Simple Operator: %s \"%s\" \"%s\"", option,arg1,arg2); in CLISimpleOperatorImages()
3627 CLISimpleOperatorImage(cli_wand, option, arg1, arg2,exception); in CLISimpleOperatorImages()
3637 (void) CLISimpleOperatorImage(cli_wand, option, arg1, arg2,exception); in CLISimpleOperatorImages()
3675 const char *option,const char *arg1n,const char *arg2n) in CLIListOperatorImages() argument
3697 #define IfNormalOp (*option=='-') in CLIListOperatorImages()
3698 #define IfPlusOp (*option!='-') in CLIListOperatorImages()
3708 "- List Operator: %s \"%s\" \"%s\"", option, in CLIListOperatorImages()
3723 CLIWandException(OptionWarning,"InterpretPropertyFailure",option); in CLIListOperatorImages()
3730 CLIWandException(OptionWarning,"InterpretPropertyFailure",option); in CLIListOperatorImages()
3741 switch (*(option+1)) in CLIListOperatorImages()
3745 if (LocaleCompare("append",option+1) == 0) in CLIListOperatorImages()
3750 if (LocaleCompare("average",option+1) == 0) in CLIListOperatorImages()
3756 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
3760 if (LocaleCompare("channel-fx",option+1) == 0) in CLIListOperatorImages()
3765 if (LocaleCompare("clut",option+1) == 0) in CLIListOperatorImages()
3784 if (LocaleCompare("coalesce",option+1) == 0) in CLIListOperatorImages()
3789 if (LocaleCompare("combine",option+1) == 0) in CLIListOperatorImages()
3795 CLIWandExceptArgBreak(OptionError,"UnrecognizedColorspace",option, in CLIListOperatorImages()
3800 if (LocaleCompare("compare",option+1) == 0) in CLIListOperatorImages()
3822 option=GetImageOption(_image_info,"metric"); in CLIListOperatorImages()
3823 if (option != (const char *) NULL) in CLIListOperatorImages()
3825 MagickFalse,option); in CLIListOperatorImages()
3833 if (LocaleCompare("complex",option+1) == 0) in CLIListOperatorImages()
3838 option,arg1); in CLIListOperatorImages()
3842 if (LocaleCompare("composite",option+1) == 0) in CLIListOperatorImages()
3949 if (LocaleCompare("copy",option+1) == 0) in CLIListOperatorImages()
3964 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLIListOperatorImages()
3966 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLIListOperatorImages()
3978 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
3982 if (LocaleCompare("deconstruct",option+1) == 0) in CLIListOperatorImages()
3988 if (LocaleCompare("delete",option+1) == 0) in CLIListOperatorImages()
3996 if (LocaleCompare("duplicate",option+1) == 0) in CLIListOperatorImages()
4007 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option, in CLIListOperatorImages()
4024 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4028 if (LocaleCompare("evaluate-sequence",option+1) == 0) in CLIListOperatorImages()
4033 option,arg1); in CLIListOperatorImages()
4038 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4042 if (LocaleCompare("fft",option+1) == 0) in CLIListOperatorImages()
4048 if (LocaleCompare("flatten",option+1) == 0) in CLIListOperatorImages()
4051 (void) CLIListOperatorImages(cli_wand,"-layers",option+1,NULL); in CLIListOperatorImages()
4054 if (LocaleCompare("fx",option+1) == 0) in CLIListOperatorImages()
4059 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4063 if (LocaleCompare("hald-clut",option+1) == 0) in CLIListOperatorImages()
4079 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4083 if (LocaleCompare("ift",option+1) == 0) in CLIListOperatorImages()
4100 if (LocaleCompare("insert",option+1) == 0) in CLIListOperatorImages()
4110 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLIListOperatorImages()
4124 CLIWandExceptArgBreak(OptionError,"NoSuchImage",option,arg1); in CLIListOperatorImages()
4130 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4134 if (LocaleCompare("layers",option+1) == 0) in CLIListOperatorImages()
4139 option,arg1); in CLIListOperatorImages()
4277 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4281 if (LocaleCompare("map",option+1) == 0) in CLIListOperatorImages()
4287 if (LocaleCompare("metric",option+1) == 0) in CLIListOperatorImages()
4289 if (LocaleCompare("morph",option+1) == 0) in CLIListOperatorImages()
4295 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLIListOperatorImages()
4304 if (LocaleCompare("mosaic",option+1) == 0) in CLIListOperatorImages()
4307 (void) CLIListOperatorImages(cli_wand,"-layers",option+1,NULL); in CLIListOperatorImages()
4310 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4314 if (LocaleCompare("poly",option+1) == 0) in CLIListOperatorImages()
4325 CLIWandExceptArgBreak(OptionError,"InvalidNumberList",option,arg1); in CLIListOperatorImages()
4331 if (LocaleCompare("process",option+1) == 0) in CLIListOperatorImages()
4401 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4405 if (LocaleCompare("remap",option+1) == 0) in CLIListOperatorImages()
4410 if (LocaleCompare("reverse",option+1) == 0) in CLIListOperatorImages()
4415 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4419 if (LocaleCompare("smush",option+1) == 0) in CLIListOperatorImages()
4426 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLIListOperatorImages()
4431 if (LocaleCompare("subimage",option+1) == 0) in CLIListOperatorImages()
4487 if (LocaleCompare("swap",option+1) == 0) in CLIListOperatorImages()
4510 CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); in CLIListOperatorImages()
4519 CLIWandExceptArgBreak(OptionError,"InvalidImageIndex",option,arg1) in CLIListOperatorImages()
4521 CLIWandExceptionBreak(OptionError,"TwoOrMoreImagesRequired",option); in CLIListOperatorImages()
4524 CLIWandExceptArgBreak(OptionError,"InvalidImageIndex",option,arg1); in CLIListOperatorImages()
4531 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4534 CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); in CLIListOperatorImages()
4597 const char *option,const char *arg1n,const char *arg2n) in CLINoImageOperator() argument
4608 #define IfNormalOp (*option=='-') in CLINoImageOperator()
4609 #define IfPlusOp (*option!='-') in CLINoImageOperator()
4617 "- NoImage Operator: %s \"%s\" \"%s\"", option, in CLINoImageOperator()
4632 CLIWandException(OptionWarning,"InterpretPropertyFailure",option); in CLINoImageOperator()
4639 CLIWandException(OptionWarning,"InterpretPropertyFailure",option); in CLINoImageOperator()
4651 if (LocaleCompare("noop",option+1) == 0) /* zero argument */ in CLINoImageOperator()
4653 if (LocaleCompare("sans",option+1) == 0) /* one argument */ in CLINoImageOperator()
4655 if (LocaleCompare("sans0",option+1) == 0) /* zero argument */ in CLINoImageOperator()
4657 if (LocaleCompare("sans1",option+1) == 0) /* one argument */ in CLINoImageOperator()
4659 if (LocaleCompare("sans2",option+1) == 0) /* two arguments */ in CLINoImageOperator()
4664 if ( ( LocaleCompare("read",option+1) == 0 ) || in CLINoImageOperator()
4665 ( LocaleCompare("--",option) == 0 ) ) { in CLINoImageOperator()
4696 option,GetExceptionMessage(errno)); in CLINoImageOperator()
4715 if (LocaleCompare("write",option+1) == 0) { in CLINoImageOperator()
4730 CLIWandExceptArgBreak(OptionError,"NoImagesForWrite",option,arg1); in CLINoImageOperator()
4748 if (LocaleCompare("(",option) == 0) { in CLINoImageOperator()
4761 CLIWandExceptionBreak(OptionError,"ParenthesisNestedTooDeeply",option); in CLINoImageOperator()
4765 "MemoryAllocationFailed",option); in CLINoImageOperator()
4774 option="{"; /* fall-thru so as to push image settings too */ in CLINoImageOperator()
4779 if (LocaleCompare("{",option) == 0) { in CLINoImageOperator()
4792 CLIWandExceptionBreak(OptionError,"CurlyBracesNestedTooDeeply",option); in CLINoImageOperator()
4796 "MemoryAllocationFailed",option); in CLINoImageOperator()
4805 option); in CLINoImageOperator()
4813 if (LocaleCompare(")",option) == 0) { in CLINoImageOperator()
4820 CLIWandExceptionBreak(OptionError,"UnbalancedParenthesis",option); in CLINoImageOperator()
4833 option="}"; /* fall-thru so as to pop image settings too */ in CLINoImageOperator()
4841 if (LocaleCompare("}",option) == 0) { in CLINoImageOperator()
4848 CLIWandExceptionBreak(OptionError,"UnbalancedCurlyBraces",option); in CLINoImageOperator()
4861 if (LocaleCompare("print",option+1) == 0) in CLINoImageOperator()
4866 if (LocaleCompare("set",option+1) == 0) in CLINoImageOperator()
4878 option); in CLINoImageOperator()
4892 option); in CLINoImageOperator()
4917 "InterpretPropertyFailure",option); in CLINoImageOperator()
4926 CLIWandExceptArgBreak(OptionWarning,"NoImageForProperty",option,arg1); in CLINoImageOperator()
4937 "InterpretPropertyFailure",option); in CLINoImageOperator()
4951 if (LocaleCompare("clone",option+1) == 0) { in CLINoImageOperator()
4955 if (*option == '+') in CLINoImageOperator()
4958 CLIWandExceptionBreak(OptionError,"InvalidArgument",option); in CLINoImageOperator()
4960 CLIWandExceptionBreak(OptionError,"UnableToCloneImage",option); in CLINoImageOperator()
4963 CLIWandExceptionBreak(OptionError,"UnableToCloneImage",option); in CLINoImageOperator()
4966 CLIWandExceptionBreak(OptionError,"NoSuchImage",option); in CLINoImageOperator()
4976 if (LocaleCompare("version",option+1) == 0) in CLINoImageOperator()
4981 if (LocaleCompare("list",option+1) == 0) { in CLINoImageOperator()
4990 CLIWandExceptionArg(OptionError,"UnrecognizedListType",option,arg1); in CLINoImageOperator()
5055 CLIWandException(OptionError,"UnrecognizedOption",option); in CLINoImageOperator()
5119 WandExport void CLIOption(MagickCLI *cli_wand,const char *option,...) in CLIOption() argument
5136 cli_wand->command = GetCommandOptionInfo(option); in CLIOption()
5139 option, cli_wand->command->mnemonic ); in CLIOption()
5144 CLIWandExceptionReturn(OptionFatalError,"UnrecognizedOption",option); in CLIOption()
5146 assert( LocaleCompare(cli_wand->command->mnemonic,option) == 0 ); in CLIOption()
5150 CLIWandExceptionBreak(OptionError,"DeprecatedOptionNoCode",option); in CLIOption()
5154 CLIWandExceptionBreak(OptionFatalError,"InvalidUseOfOption",option); in CLIOption()
5166 va_start(operands,option); in CLIOption()
5178 option,(long) count,option_type,arg1,arg2); in CLIOption()
5193 CLISettingOptionInfo(cli_wand, option, arg1, arg2); in CLIOption()
5199 CLINoImageOperator(cli_wand, option, arg1, arg2); in CLIOption()
5207 CLIWandExceptionBreak(OptionError,"NoImagesFound",option); in CLIOption()
5214 (void) CLISimpleOperatorImages(cli_wand, option, arg1, arg2,exception); in CLIOption()
5220 (void) CLIListOperatorImages(cli_wand, option, arg1, arg2); in CLIOption()