Lines Matching +full:- +full:- +full:option
20 % Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization %
46 #include "MagickWand/mogrify-private.h"
47 #include "MagickCore/string-private.h"
48 #include "MagickCore/image-private.h"
49 #include "MagickCore/xwindow-private.h"
102 "-debug events display copious debugging information", in ImportUsage()
103 "-help print program options", in ImportUsage()
104 "-list type print a list of supported option arguments", in ImportUsage()
105 "-log format format of debugging information", in ImportUsage()
106 "-version print version information", in ImportUsage()
111 "-annotate geometry text", in ImportUsage()
113 "-colors value preferred number of colors in the image", in ImportUsage()
114 "-crop geometry preferred size and location of the cropped image", in ImportUsage()
115 "-encipher filename convert plain pixels to cipher pixels", in ImportUsage()
116 "-geometry geometry preferred size or location of the image", in ImportUsage()
117 "-help print program options", in ImportUsage()
118 "-monochrome transform image to black and white", in ImportUsage()
119 "-negate replace every pixel with its complementary color ", in ImportUsage()
120 "-quantize colorspace reduce colors in this colorspace", in ImportUsage()
121 "-resize geometry resize the image", in ImportUsage()
122 "-rotate degrees apply Paeth rotation to the image", in ImportUsage()
123 "-strip strip image of all profiles and comments", in ImportUsage()
124 "-thumbnail geometry create a thumbnail of the image", in ImportUsage()
125 "-transparent color make this color transparent within the image", in ImportUsage()
126 "-trim trim image edges", in ImportUsage()
127 "-type type image type", in ImportUsage()
132 "-adjoin join images into a single multi-image file", in ImportUsage()
133 "-border include window border in the output image", in ImportUsage()
134 "-channel type apply option to select image channels", in ImportUsage()
135 "-colorspace type alternate image colorspace", in ImportUsage()
136 "-comment string annotate image with comment", in ImportUsage()
137 "-compress type type of pixel compression when writing the image", in ImportUsage()
138 "-define format:option", in ImportUsage()
140 "-density geometry horizontal and vertical density of the image", in ImportUsage()
141 "-depth value image depth", in ImportUsage()
142 "-descend obtain image by descending window hierarchy", in ImportUsage()
143 "-display server X server to contact", in ImportUsage()
144 "-dispose method layer disposal method", in ImportUsage()
145 "-dither method apply error diffusion to image", in ImportUsage()
146 "-delay value display the next image after pausing", in ImportUsage()
147 "-encipher filename convert plain pixels to cipher pixels", in ImportUsage()
148 "-endian type endianness (MSB or LSB) of the image", in ImportUsage()
149 "-encoding type text encoding type", in ImportUsage()
150 "-filter type use this filter when resizing an image", in ImportUsage()
151 "-format \"string\" output formatted image characteristics", in ImportUsage()
152 "-frame include window manager frame", in ImportUsage()
153 "-gravity direction which direction to gravitate towards", in ImportUsage()
154 "-identify identify the format and characteristics of the image", in ImportUsage()
155 "-interlace type None, Line, Plane, or Partition", in ImportUsage()
156 "-interpolate method pixel color interpolation method", in ImportUsage()
157 "-label string assign a label to an image", in ImportUsage()
158 "-limit type value Area, Disk, Map, or Memory resource limit", in ImportUsage()
159 "-monitor monitor progress", in ImportUsage()
160 "-page geometry size and location of an image canvas", in ImportUsage()
161 "-pause seconds seconds delay between snapshots", in ImportUsage()
162 "-pointsize value font point size", in ImportUsage()
163 "-quality value JPEG/MIFF/PNG compression level", in ImportUsage()
164 "-quiet suppress all warning messages", in ImportUsage()
165 "-regard-warnings pay attention to warning messages", in ImportUsage()
166 "-repage geometry size and location of an image canvas", in ImportUsage()
167 "-respect-parentheses settings remain in effect until parenthesis boundary", in ImportUsage()
168 "-sampling-factor geometry", in ImportUsage()
170 "-scene value image scene number", in ImportUsage()
171 "-screen select image from root window", in ImportUsage()
172 "-seed value seed a new sequence of pseudo-random numbers", in ImportUsage()
173 "-set property value set an image property", in ImportUsage()
174 "-silent operate silently, i.e. don't ring any bells ", in ImportUsage()
175 "-snaps value number of screen snapshots", in ImportUsage()
176 "-support factor resize support: > 1.0 is blurry, < 1.0 is sharp", in ImportUsage()
177 "-synchronize synchronize image to storage device", in ImportUsage()
178 "-taint declare the image as modified", in ImportUsage()
179 "-transparent-color color", in ImportUsage()
181 "-treedepth value color tree depth", in ImportUsage()
182 "-verbose print detailed information about the image", in ImportUsage()
183 "-virtual-pixel method", in ImportUsage()
185 "-window id select window with this id or name", in ImportUsage()
209 "the filename suffix (i.e. image.ps). Specify 'file' as '-' for\n"); in ImportUsage()
233 #define ThrowImportException(asperity,tag,option) \ in ImportImageCommand() argument
236 option); \ in ImportImageCommand()
240 #define ThrowImportInvalidArgumentException(option,argument) \ in ImportImageCommand() argument
243 "InvalidArgument","'%s': %s",option,argument); \ in ImportImageCommand()
250 *option, in ImportImageCommand() local
296 assert(image_info->signature == MagickCoreSignature); in ImportImageCommand()
297 if (image_info->debug != MagickFalse) in ImportImageCommand()
302 option=argv[1]; in ImportImageCommand()
303 if ((LocaleCompare("version",option+1) == 0) || in ImportImageCommand()
304 (LocaleCompare("-version",option+1) == 0)) in ImportImageCommand()
314 option=(char *) NULL; in ImportImageCommand()
336 option=argv[i]; in ImportImageCommand()
337 if (IsCommandOption(option) == MagickFalse) in ImportImageCommand()
339 if (LocaleCompare("display",option+1) == 0) in ImportImageCommand()
346 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
349 if ((LocaleCompare("help",option+1) == 0) || in ImportImageCommand()
350 (LocaleCompare("-help",option+1) == 0)) in ImportImageCommand()
372 image_info->density=XGetResourceInstance(resource_database,GetClientName(), in ImportImageCommand()
382 image_info->interlace=UndefinedInterlace; in ImportImageCommand()
384 image_info->interlace=NoInterlace; in ImportImageCommand()
386 image_info->interlace=LineInterlace; in ImportImageCommand()
388 image_info->interlace=PlaneInterlace; in ImportImageCommand()
390 image_info->interlace=PartitionInterlace; in ImportImageCommand()
391 if (image_info->interlace == UndefinedInterlace) in ImportImageCommand()
394 image_info->page=XGetResourceInstance(resource_database,GetClientName(), in ImportImageCommand()
401 image_info->quality=StringToUnsignedLong(resource_value); in ImportImageCommand()
410 image_info->verbose=IsStringTrue(resource_value); in ImportImageCommand()
413 quantize_info->dither_method=IsStringTrue(resource_value) != MagickFalse ? in ImportImageCommand()
423 option=argv[i]; in ImportImageCommand()
424 if (LocaleCompare(option,"(") == 0) in ImportImageCommand()
429 option); in ImportImageCommand()
433 if (LocaleCompare(option,")") == 0) in ImportImageCommand()
437 ThrowImportException(OptionError,"UnableToParseExpression",option); in ImportImageCommand()
441 if (IsCommandOption(option) == MagickFalse) in ImportImageCommand()
455 (void) CopyMagickString(image_info->filename,target_window, in ImportImageCommand()
462 (exception->severity < ErrorException); in ImportImageCommand()
465 (void) CopyMagickString(images->filename,filename,MagickPathExtent); in ImportImageCommand()
466 (void) CopyMagickString(images->magick,"PS",MagickPathExtent); in ImportImageCommand()
467 images->scene=scene; in ImportImageCommand()
473 switch(*(option+1)) in ImportImageCommand()
477 if (LocaleCompare("adjoin",option+1) == 0) in ImportImageCommand()
479 if (LocaleCompare("annotate",option+1) == 0) in ImportImageCommand()
481 if (*option == '+') in ImportImageCommand()
485 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
487 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
489 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
493 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
497 if (LocaleCompare("border",option+1) == 0) in ImportImageCommand()
500 ximage_info.borders=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
503 if (LocaleCompare("bordercolor",option+1) == 0) in ImportImageCommand()
505 if (*option == '+') in ImportImageCommand()
509 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
512 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
516 if (LocaleCompare("cache",option+1) == 0) in ImportImageCommand()
518 if (*option == '+') in ImportImageCommand()
522 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
524 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
527 if (LocaleCompare("channel",option+1) == 0) in ImportImageCommand()
532 if (*option == '+') in ImportImageCommand()
536 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
543 if (LocaleCompare("colors",option+1) == 0) in ImportImageCommand()
545 quantize_info->number_colors=0; in ImportImageCommand()
546 if (*option == '+') in ImportImageCommand()
550 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
552 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
553 quantize_info->number_colors=StringToUnsignedLong(argv[i]); in ImportImageCommand()
556 if (LocaleCompare("colorspace",option+1) == 0) in ImportImageCommand()
561 if (*option == '+') in ImportImageCommand()
565 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
573 if (LocaleCompare("comment",option+1) == 0) in ImportImageCommand()
575 if (*option == '+') in ImportImageCommand()
579 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
585 if (LocaleCompare("compress",option+1) == 0) in ImportImageCommand()
590 if (*option == '+') in ImportImageCommand()
594 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
602 if (LocaleCompare("concurrent",option+1) == 0) in ImportImageCommand()
604 if (LocaleCompare("crop",option+1) == 0) in ImportImageCommand()
606 if (*option == '+') in ImportImageCommand()
610 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
612 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
615 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
619 if (LocaleCompare("debug",option+1) == 0) in ImportImageCommand()
624 if (*option == '+') in ImportImageCommand()
628 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
635 if (LocaleCompare("define",option+1) == 0) in ImportImageCommand()
639 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
640 if (*option == '+') in ImportImageCommand()
652 if (LocaleCompare("delay",option+1) == 0) in ImportImageCommand()
654 if (*option == '+') in ImportImageCommand()
658 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
660 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
666 if (LocaleCompare("density",option+1) == 0) in ImportImageCommand()
668 if (*option == '+') in ImportImageCommand()
672 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
674 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
677 if (LocaleCompare("depth",option+1) == 0) in ImportImageCommand()
679 if (*option == '+') in ImportImageCommand()
683 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
685 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
688 if (LocaleCompare("descend",option+1) == 0) in ImportImageCommand()
690 ximage_info.descend=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
693 if (LocaleCompare("display",option+1) == 0) in ImportImageCommand()
695 if (*option == '+') in ImportImageCommand()
699 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
702 if (LocaleCompare("dispose",option+1) == 0) in ImportImageCommand()
707 if (*option == '+') in ImportImageCommand()
711 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
718 if (LocaleCompare("dither",option+1) == 0) in ImportImageCommand()
723 quantize_info->dither_method=NoDitherMethod; in ImportImageCommand()
724 if (*option == '+') in ImportImageCommand()
728 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
733 quantize_info->dither_method=(DitherMethod) method; in ImportImageCommand()
736 if (LocaleCompare("duration",option+1) == 0) in ImportImageCommand()
738 if (*option == '+') in ImportImageCommand()
742 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
744 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
747 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
751 if (LocaleCompare("encipher",option+1) == 0) in ImportImageCommand()
753 if (*option == '+') in ImportImageCommand()
757 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
760 if (LocaleCompare("encoding",option+1) == 0) in ImportImageCommand()
762 if (*option == '+') in ImportImageCommand()
766 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
769 if (LocaleCompare("endian",option+1) == 0) in ImportImageCommand()
774 if (*option == '+') in ImportImageCommand()
778 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
786 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
790 if (LocaleCompare("filter",option+1) == 0) in ImportImageCommand()
795 if (*option == '+') in ImportImageCommand()
799 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
806 if (LocaleCompare("frame",option+1) == 0) in ImportImageCommand()
809 ximage_info.frame=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
812 if (LocaleCompare("format",option+1) == 0) in ImportImageCommand()
814 if (*option == '+') in ImportImageCommand()
818 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
821 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
825 if (LocaleCompare("geometry",option+1) == 0) in ImportImageCommand()
827 if (*option == '+') in ImportImageCommand()
831 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
833 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
836 if (LocaleCompare("gravity",option+1) == 0) in ImportImageCommand()
841 if (*option == '+') in ImportImageCommand()
845 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
852 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
856 if (LocaleCompare("help",option+1) == 0) in ImportImageCommand()
858 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
862 if (LocaleCompare("identify",option+1) == 0) in ImportImageCommand()
864 if (LocaleCompare("interlace",option+1) == 0) in ImportImageCommand()
869 if (*option == '+') in ImportImageCommand()
873 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
881 if (LocaleCompare("interpolate",option+1) == 0) in ImportImageCommand()
886 if (*option == '+') in ImportImageCommand()
890 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
898 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
902 if (LocaleCompare("label",option+1) == 0) in ImportImageCommand()
904 if (*option == '+') in ImportImageCommand()
908 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
914 if (LocaleCompare("limit",option+1) == 0) in ImportImageCommand()
925 if (*option == '+') in ImportImageCommand()
929 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
937 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
941 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
944 if (LocaleCompare("list",option+1) == 0) in ImportImageCommand()
949 if (*option == '+') in ImportImageCommand()
953 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
957 status=MogrifyImageInfo(image_info,(int) (i-j+1),(const char **) in ImportImageCommand()
962 if (LocaleCompare("log",option+1) == 0) in ImportImageCommand()
964 if (*option == '+') in ImportImageCommand()
968 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
971 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
975 if (LocaleCompare("monitor",option+1) == 0) in ImportImageCommand()
977 if (LocaleCompare("monochrome",option+1) == 0) in ImportImageCommand()
979 if (*option == '+') in ImportImageCommand()
981 quantize_info->number_colors=2; in ImportImageCommand()
982 quantize_info->colorspace=GRAYColorspace; in ImportImageCommand()
985 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
989 if (LocaleCompare("negate",option+1) == 0) in ImportImageCommand()
991 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
995 if (LocaleCompare("page",option+1) == 0) in ImportImageCommand()
997 if (*option == '+') in ImportImageCommand()
1001 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1007 if (LocaleCompare("pause",option+1) == 0) in ImportImageCommand()
1010 if (*option == '+') in ImportImageCommand()
1014 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1016 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1020 if (LocaleCompare("ping",option+1) == 0) in ImportImageCommand()
1021 break; /* deprecated option */ in ImportImageCommand()
1022 if (LocaleCompare("pointsize",option+1) == 0) in ImportImageCommand()
1024 if (*option == '+') in ImportImageCommand()
1028 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1030 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1033 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1037 if (LocaleCompare("quality",option+1) == 0) in ImportImageCommand()
1039 if (*option == '+') in ImportImageCommand()
1043 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1045 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1048 if (LocaleCompare("quantize",option+1) == 0) in ImportImageCommand()
1053 if (*option == '+') in ImportImageCommand()
1057 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1065 if (LocaleCompare("quiet",option+1) == 0) in ImportImageCommand()
1067 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1071 if (LocaleCompare("regard-warnings",option+1) == 0) in ImportImageCommand()
1073 if (LocaleCompare("repage",option+1) == 0) in ImportImageCommand()
1075 if (*option == '+') in ImportImageCommand()
1079 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1081 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1084 if (LocaleCompare("resize",option+1) == 0) in ImportImageCommand()
1086 if (*option == '+') in ImportImageCommand()
1090 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1092 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1095 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in ImportImageCommand()
1097 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
1100 if (LocaleCompare("rotate",option+1) == 0) in ImportImageCommand()
1104 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1106 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1109 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1113 if (LocaleCompare("sampling-factor",option+1) == 0) in ImportImageCommand()
1115 if (*option == '+') in ImportImageCommand()
1119 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1121 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1124 if (LocaleCompare("scene",option+1) == 0) in ImportImageCommand()
1126 if (*option == '+') in ImportImageCommand()
1130 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1132 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1135 if (LocaleCompare("set",option+1) == 0) in ImportImageCommand()
1139 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1140 if (*option == '+') in ImportImageCommand()
1144 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1147 if (LocaleCompare("screen",option+1) == 0) in ImportImageCommand()
1149 ximage_info.screen=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
1152 if (LocaleCompare("seed",option+1) == 0) in ImportImageCommand()
1154 if (*option == '+') in ImportImageCommand()
1158 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1160 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1163 if (LocaleCompare("silent",option+1) == 0) in ImportImageCommand()
1165 ximage_info.silent=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
1168 if (LocaleCompare("snaps",option+1) == 0) in ImportImageCommand()
1173 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1175 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1179 if (LocaleCompare("strip",option+1) == 0) in ImportImageCommand()
1181 if (LocaleCompare("support",option+1) == 0) in ImportImageCommand()
1186 if (LocaleCompare("synchronize",option+1) == 0) in ImportImageCommand()
1188 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1192 if (LocaleCompare("taint",option+1) == 0) in ImportImageCommand()
1194 if (LocaleCompare("thumbnail",option+1) == 0) in ImportImageCommand()
1196 if (*option == '+') in ImportImageCommand()
1200 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1202 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1205 if (LocaleCompare("transparent",option+1) == 0) in ImportImageCommand()
1209 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1212 if (LocaleCompare("transparent-color",option+1) == 0) in ImportImageCommand()
1214 if (*option == '+') in ImportImageCommand()
1218 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1221 if (LocaleCompare("treedepth",option+1) == 0) in ImportImageCommand()
1223 quantize_info->tree_depth=0; in ImportImageCommand()
1224 if (*option == '+') in ImportImageCommand()
1228 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1230 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1231 quantize_info->tree_depth=StringToUnsignedLong(argv[i]); in ImportImageCommand()
1234 if (LocaleCompare("trim",option+1) == 0) in ImportImageCommand()
1236 if (LocaleCompare("type",option+1) == 0) in ImportImageCommand()
1241 if (*option == '+') in ImportImageCommand()
1245 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1251 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1257 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1263 if (LocaleCompare("verbose",option+1) == 0) in ImportImageCommand()
1265 if ((LocaleCompare("version",option+1) == 0) || in ImportImageCommand()
1266 (LocaleCompare("-version",option+1) == 0)) in ImportImageCommand()
1271 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1276 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1278 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in ImportImageCommand()
1285 if (i-- != (ssize_t) argc) in ImportImageCommand()
1288 ThrowImportException(OptionError,"MissingAnImageFilename",argv[argc-1]); in ImportImageCommand()
1298 "DelegateLibrarySupportNotBuiltIn","'%s' (X11)",image_info->filename); in ImportImageCommand()