• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:option

20 %  Copyright 1999-2021 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"
98 " -debug events display copious debugging information\n" in ImportUsage()
99 " -help print program options\n" in ImportUsage()
100 " -list type print a list of supported option arguments\n" in ImportUsage()
101 " -log format format of debugging information\n" in ImportUsage()
102 " -version print version information", in ImportUsage()
104 " -annotate geometry text\n" in ImportUsage()
106 " -colors value preferred number of colors in the image\n" in ImportUsage()
107 " -crop geometry preferred size and location of the cropped image\n" in ImportUsage()
108 " -encipher filename convert plain pixels to cipher pixels\n" in ImportUsage()
109 " -extent geometry set the image size\n" in ImportUsage()
110 " -geometry geometry preferred size or location of the image\n" in ImportUsage()
111 " -help print program options\n" in ImportUsage()
112 " -monochrome transform image to black and white\n" in ImportUsage()
113 " -negate replace every pixel with its complementary color \n" in ImportUsage()
114 " -quantize colorspace reduce colors in this colorspace\n" in ImportUsage()
115 " -resize geometry resize the image\n" in ImportUsage()
116 " -rotate degrees apply Paeth rotation to the image\n" in ImportUsage()
117 " -strip strip image of all profiles and comments\n" in ImportUsage()
118 " -thumbnail geometry create a thumbnail of the image\n" in ImportUsage()
119 " -transparent color make this color transparent within the image\n" in ImportUsage()
120 " -trim trim image edges\n" in ImportUsage()
121 " -type type image type", in ImportUsage()
123 " -adjoin join images into a single multi-image file\n" in ImportUsage()
124 " -border include window border in the output image\n" in ImportUsage()
125 " -channel type apply option to select image channels\n" in ImportUsage()
126 " -colorspace type alternate image colorspace\n" in ImportUsage()
127 " -comment string annotate image with comment\n" in ImportUsage()
128 " -compress type type of pixel compression when writing the image\n" in ImportUsage()
129 " -define format:option\n" in ImportUsage()
131 " -density geometry horizontal and vertical density of the image\n" in ImportUsage()
132 " -depth value image depth\n" in ImportUsage()
133 " -descend obtain image by descending window hierarchy\n" in ImportUsage()
134 " -display server X server to contact\n" in ImportUsage()
135 " -dispose method layer disposal method\n" in ImportUsage()
136 " -dither method apply error diffusion to image\n" in ImportUsage()
137 " -delay value display the next image after pausing\n" in ImportUsage()
138 " -encipher filename convert plain pixels to cipher pixels\n" in ImportUsage()
139 " -endian type endianness (MSB or LSB) of the image\n" in ImportUsage()
140 " -encoding type text encoding type\n" in ImportUsage()
141 " -filter type use this filter when resizing an image\n" in ImportUsage()
142 " -format \"string\" output formatted image characteristics\n" in ImportUsage()
143 " -frame include window manager frame\n" in ImportUsage()
144 " -gravity direction which direction to gravitate towards\n" in ImportUsage()
145 " -identify identify the format and characteristics of the image\n" in ImportUsage()
146 " -interlace type None, Line, Plane, or Partition\n" in ImportUsage()
147 " -interpolate method pixel color interpolation method\n" in ImportUsage()
148 " -label string assign a label to an image\n" in ImportUsage()
149 " -limit type value Area, Disk, Map, or Memory resource limit\n" in ImportUsage()
150 " -monitor monitor progress\n" in ImportUsage()
151 " -page geometry size and location of an image canvas\n" in ImportUsage()
152 " -pause seconds seconds delay between snapshots\n" in ImportUsage()
153 " -pointsize value font point size\n" in ImportUsage()
154 " -quality value JPEG/MIFF/PNG compression level\n" in ImportUsage()
155 " -quiet suppress all warning messages\n" in ImportUsage()
156 " -regard-warnings pay attention to warning messages\n" in ImportUsage()
157 " -repage geometry size and location of an image canvas\n" in ImportUsage()
158 " -respect-parentheses settings remain in effect until parenthesis boundary\n" in ImportUsage()
159 " -sampling-factor geometry\n" in ImportUsage()
161 " -scene value image scene number\n" in ImportUsage()
162 " -screen select image from root window\n" in ImportUsage()
163 " -seed value seed a new sequence of pseudo-random numbers\n" in ImportUsage()
164 " -set property value set an image property\n" in ImportUsage()
165 " -silent operate silently, i.e. don't ring any bells \n" in ImportUsage()
166 " -snaps value number of screen snapshots\n" in ImportUsage()
167 " -support factor resize support: > 1.0 is blurry, < 1.0 is sharp\n" in ImportUsage()
168 " -synchronize synchronize image to storage device\n" in ImportUsage()
169 " -taint declare the image as modified\n" in ImportUsage()
170 " -transparent-color color\n" in ImportUsage()
172 " -treedepth value color tree depth\n" in ImportUsage()
173 " -verbose print detailed information about the image\n" in ImportUsage()
174 " -virtual-pixel method\n" in ImportUsage()
176 " -window id select window with this id or name\n" in ImportUsage()
195 "the filename suffix (i.e. image.ps). Specify 'file' as '-' for\n"); in ImportUsage()
219 #define ThrowImportException(asperity,tag,option) \ in ImportImageCommand() argument
222 option); \ in ImportImageCommand()
226 #define ThrowImportInvalidArgumentException(option,argument) \ in ImportImageCommand() argument
229 "InvalidArgument","'%s': %s",option,argument); \ in ImportImageCommand()
236 *option, in ImportImageCommand() local
282 assert(image_info->signature == MagickCoreSignature); in ImportImageCommand()
283 if (image_info->debug != MagickFalse) in ImportImageCommand()
288 option=argv[1]; in ImportImageCommand()
289 if ((LocaleCompare("version",option+1) == 0) || in ImportImageCommand()
290 (LocaleCompare("-version",option+1) == 0)) in ImportImageCommand()
300 option=(char *) NULL; in ImportImageCommand()
322 option=argv[i]; in ImportImageCommand()
323 if (IsCommandOption(option) == MagickFalse) in ImportImageCommand()
325 if (LocaleCompare("display",option+1) == 0) in ImportImageCommand()
332 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
335 if ((LocaleCompare("help",option+1) == 0) || in ImportImageCommand()
336 (LocaleCompare("-help",option+1) == 0)) in ImportImageCommand()
361 image_info->density=XGetResourceInstance(resource_database,GetClientName(), in ImportImageCommand()
371 image_info->interlace=UndefinedInterlace; in ImportImageCommand()
373 image_info->interlace=NoInterlace; in ImportImageCommand()
375 image_info->interlace=LineInterlace; in ImportImageCommand()
377 image_info->interlace=PlaneInterlace; in ImportImageCommand()
379 image_info->interlace=PartitionInterlace; in ImportImageCommand()
380 if (image_info->interlace == UndefinedInterlace) in ImportImageCommand()
383 image_info->page=XGetResourceInstance(resource_database,GetClientName(), in ImportImageCommand()
390 image_info->quality=StringToUnsignedLong(resource_value); in ImportImageCommand()
399 image_info->verbose=IsStringTrue(resource_value); in ImportImageCommand()
402 quantize_info->dither_method=IsStringTrue(resource_value) != MagickFalse ? in ImportImageCommand()
412 option=argv[i]; in ImportImageCommand()
413 if (LocaleCompare(option,"(") == 0) in ImportImageCommand()
418 option); in ImportImageCommand()
422 if (LocaleCompare(option,")") == 0) in ImportImageCommand()
426 ThrowImportException(OptionError,"UnableToParseExpression",option); in ImportImageCommand()
430 if (IsCommandOption(option) == MagickFalse) in ImportImageCommand()
444 (void) CopyMagickString(image_info->filename,target_window, in ImportImageCommand()
451 (exception->severity < ErrorException); in ImportImageCommand()
454 (void) CopyMagickString(images->filename,filename,MagickPathExtent); in ImportImageCommand()
455 (void) CopyMagickString(images->magick,"PS",MagickPathExtent); in ImportImageCommand()
456 images->scene=scene; in ImportImageCommand()
462 switch(*(option+1)) in ImportImageCommand()
466 if (LocaleCompare("adjoin",option+1) == 0) in ImportImageCommand()
468 if (LocaleCompare("annotate",option+1) == 0) in ImportImageCommand()
470 if (*option == '+') in ImportImageCommand()
474 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
476 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
478 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
482 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
486 if (LocaleCompare("border",option+1) == 0) in ImportImageCommand()
489 ximage_info.borders=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
492 if (LocaleCompare("bordercolor",option+1) == 0) in ImportImageCommand()
494 if (*option == '+') in ImportImageCommand()
498 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
501 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
505 if (LocaleCompare("cache",option+1) == 0) in ImportImageCommand()
507 if (*option == '+') in ImportImageCommand()
511 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
513 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
516 if (LocaleCompare("channel",option+1) == 0) in ImportImageCommand()
521 if (*option == '+') in ImportImageCommand()
525 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
532 if (LocaleCompare("colors",option+1) == 0) in ImportImageCommand()
534 quantize_info->number_colors=0; in ImportImageCommand()
535 if (*option == '+') in ImportImageCommand()
539 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
541 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
542 quantize_info->number_colors=StringToUnsignedLong(argv[i]); in ImportImageCommand()
545 if (LocaleCompare("colorspace",option+1) == 0) in ImportImageCommand()
550 if (*option == '+') in ImportImageCommand()
554 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
562 if (LocaleCompare("comment",option+1) == 0) in ImportImageCommand()
564 if (*option == '+') in ImportImageCommand()
568 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
574 if (LocaleCompare("compress",option+1) == 0) in ImportImageCommand()
579 if (*option == '+') in ImportImageCommand()
583 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
591 if (LocaleCompare("concurrent",option+1) == 0) in ImportImageCommand()
593 if (LocaleCompare("crop",option+1) == 0) in ImportImageCommand()
595 if (*option == '+') in ImportImageCommand()
599 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
601 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
604 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
608 if (LocaleCompare("debug",option+1) == 0) in ImportImageCommand()
613 if (*option == '+') in ImportImageCommand()
617 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
624 if (LocaleCompare("define",option+1) == 0) in ImportImageCommand()
628 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
629 if (*option == '+') in ImportImageCommand()
641 if (LocaleCompare("delay",option+1) == 0) in ImportImageCommand()
643 if (*option == '+') in ImportImageCommand()
647 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
649 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
655 if (LocaleCompare("density",option+1) == 0) in ImportImageCommand()
657 if (*option == '+') in ImportImageCommand()
661 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
663 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
666 if (LocaleCompare("depth",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("descend",option+1) == 0) in ImportImageCommand()
679 ximage_info.descend=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
682 if (LocaleCompare("display",option+1) == 0) in ImportImageCommand()
684 if (*option == '+') in ImportImageCommand()
688 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
691 if (LocaleCompare("dispose",option+1) == 0) in ImportImageCommand()
696 if (*option == '+') in ImportImageCommand()
700 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
707 if (LocaleCompare("dither",option+1) == 0) in ImportImageCommand()
712 quantize_info->dither_method=NoDitherMethod; in ImportImageCommand()
713 if (*option == '+') in ImportImageCommand()
717 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
722 quantize_info->dither_method=(DitherMethod) method; in ImportImageCommand()
725 if (LocaleCompare("duration",option+1) == 0) in ImportImageCommand()
727 if (*option == '+') in ImportImageCommand()
731 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
733 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
736 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
740 if (LocaleCompare("encipher",option+1) == 0) in ImportImageCommand()
742 if (*option == '+') in ImportImageCommand()
746 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
749 if (LocaleCompare("encoding",option+1) == 0) in ImportImageCommand()
751 if (*option == '+') in ImportImageCommand()
755 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
758 if (LocaleCompare("endian",option+1) == 0) in ImportImageCommand()
763 if (*option == '+') in ImportImageCommand()
767 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
775 if (LocaleCompare("extent",option+1) == 0) in ImportImageCommand()
777 if (*option == '+') in ImportImageCommand()
781 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
783 ThrowImportInvalidArgumentException(option,argv[i]); 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()