Lines Matching +full:- +full:- +full:option
20 % Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization %
45 #include "MagickWand/mogrify-private.h"
46 #include "MagickCore/composite-private.h"
47 #include "MagickCore/string-private.h"
123 assert(image_info->signature == MagickCoreSignature); in CompositeImageList()
125 assert((*image)->signature == MagickCoreSignature); in CompositeImageList()
126 if ((*image)->debug != MagickFalse) in CompositeImageList()
127 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",(*image)->filename); in CompositeImageList()
131 composite_options->clip_to_self=GetCompositeClipToSelf( in CompositeImageList()
132 composite_options->compose); in CompositeImageList()
133 value=GetImageOption(image_info,"compose:clip-to-self"); in CompositeImageList()
135 composite_options->clip_to_self=IsStringTrue(value); in CompositeImageList()
136 value=GetImageOption(image_info,"compose:outside-overlay"); in CompositeImageList()
138 composite_options->clip_to_self=IsStringFalse(value); /* deprecated */ in CompositeImageList()
145 composite_options->channel); in CompositeImageList()
146 assert(composite_image->signature == MagickCoreSignature); in CompositeImageList()
147 switch (composite_options->compose) in CompositeImageList()
158 composite_options->compose_args); in CompositeImageList()
167 if (composite_options->stegano != 0) in CompositeImageList()
172 (*image)->offset=composite_options->stegano-1; in CompositeImageList()
181 if (composite_options->stereo != MagickFalse) in CompositeImageList()
187 composite_options->offset.x,composite_options->offset.y, in CompositeImageList()
196 if (composite_options->tile != MagickFalse) in CompositeImageList()
208 columns=composite_image->columns; in CompositeImageList()
209 for (y=0; y < (ssize_t) (*image)->rows; y+=(ssize_t) composite_image->rows) in CompositeImageList()
210 for (x=0; x < (ssize_t) (*image)->columns; x+=(ssize_t) columns) in CompositeImageList()
212 composite_options->compose,MagickTrue,x,y,exception); in CompositeImageList()
223 (void) ParseAbsoluteGeometry(composite_options->geometry, in CompositeImageList()
225 geometry.width=composite_image->columns; in CompositeImageList()
226 geometry.height=composite_image->rows; in CompositeImageList()
227 GravityAdjustGeometry((*image)->columns,(*image)->rows, in CompositeImageList()
228 composite_options->gravity, &geometry); in CompositeImageList()
229 (*image)->gravity=(GravityType) composite_options->gravity; in CompositeImageList()
234 composite_options->compose,composite_options->clip_to_self, in CompositeImageList()
250 "-debug events display copious debugging information", in CompositeUsage()
251 "-help print program options", in CompositeUsage()
252 "-list type print a list of supported option arguments", in CompositeUsage()
253 "-log format format of debugging information", in CompositeUsage()
254 "-version print version information", in CompositeUsage()
259 "-blend geometry blend images", in CompositeUsage()
260 "-border geometry surround image with a border of color", in CompositeUsage()
261 "-bordercolor color border color", in CompositeUsage()
262 "-channel mask set the image channel mask", in CompositeUsage()
263 "-colors value preferred number of colors in the image", in CompositeUsage()
264 "-decipher filename convert cipher pixels to plain pixels", in CompositeUsage()
265 "-displace geometry shift lookup according to a relative displacement map", in CompositeUsage()
266 "-dissolve value dissolve the two images a given percent", in CompositeUsage()
267 "-distort geometry shift lookup according to a absolute distortion map", in CompositeUsage()
268 "-encipher filename convert plain pixels to cipher pixels", in CompositeUsage()
269 "-extract geometry extract area from image", in CompositeUsage()
270 "-geometry geometry location of the composite image", in CompositeUsage()
271 "-identify identify the format and characteristics of the image", in CompositeUsage()
272 "-monochrome transform image to black and white", in CompositeUsage()
273 "-negate replace every pixel with its complementary color ", in CompositeUsage()
274 "-profile filename add ICM or IPTC information profile to image", in CompositeUsage()
275 "-quantize colorspace reduce colors in this colorspace", in CompositeUsage()
276 "-repage geometry size and location of an image canvas (operator)", in CompositeUsage()
277 "-rotate degrees apply Paeth rotation to the image", in CompositeUsage()
278 "-resize geometry resize the image", in CompositeUsage()
279 "-sharpen geometry sharpen the image", in CompositeUsage()
280 "-shave geometry shave pixels from the image edges", in CompositeUsage()
281 "-stegano offset hide watermark within an image", in CompositeUsage()
282 "-stereo geometry combine two image to create a stereo anaglyph", in CompositeUsage()
283 "-strip strip image of all profiles and comments", in CompositeUsage()
284 "-thumbnail geometry create a thumbnail of the image", in CompositeUsage()
285 "-transform affine transform image", in CompositeUsage()
286 "-type type image type", in CompositeUsage()
287 "-unsharp geometry sharpen the image", in CompositeUsage()
288 "-watermark geometry percent brightness and saturation of a watermark", in CompositeUsage()
289 "-write filename write images to this file", in CompositeUsage()
294 "-affine matrix affine transform matrix", in CompositeUsage()
295 "-alpha option on, activate, off, deactivate, set, opaque, copy", in CompositeUsage()
297 "-authenticate password", in CompositeUsage()
299 "-blue-primary point chromaticity blue primary point", in CompositeUsage()
300 "-colorspace type alternate image colorspace", in CompositeUsage()
301 "-comment string annotate image with comment", in CompositeUsage()
302 "-compose operator composite operator", in CompositeUsage()
303 "-compress type type of pixel compression when writing the image", in CompositeUsage()
304 "-define format:option", in CompositeUsage()
306 "-depth value image depth", in CompositeUsage()
307 "-density geometry horizontal and vertical density of the image", in CompositeUsage()
308 "-display server get image or font from this X server", in CompositeUsage()
309 "-dispose method layer disposal method", in CompositeUsage()
310 "-dither method apply error diffusion to image", in CompositeUsage()
311 "-encoding type text encoding type", in CompositeUsage()
312 "-endian type endianness (MSB or LSB) of the image", in CompositeUsage()
313 "-filter type use this filter when resizing an image", in CompositeUsage()
314 "-font name render text with this font", in CompositeUsage()
315 "-format \"string\" output formatted image characteristics", in CompositeUsage()
316 "-gravity type which direction to gravitate towards", in CompositeUsage()
317 "-green-primary point chromaticity green primary point", in CompositeUsage()
318 "-interlace type type of image interlacing scheme", in CompositeUsage()
319 "-interpolate method pixel color interpolation method", in CompositeUsage()
320 "-label string assign a label to an image", in CompositeUsage()
321 "-limit type value pixel cache resource limit", in CompositeUsage()
322 "-matte store matte channel if the image has one", in CompositeUsage()
323 "-monitor monitor progress", in CompositeUsage()
324 "-page geometry size and location of an image canvas (setting)", in CompositeUsage()
325 "-pointsize value font point size", in CompositeUsage()
326 "-quality value JPEG/MIFF/PNG compression level", in CompositeUsage()
327 "-quiet suppress all warning messages", in CompositeUsage()
328 "-red-primary point chromaticity red primary point", in CompositeUsage()
329 "-regard-warnings pay attention to warning messages", in CompositeUsage()
330 "-respect-parentheses settings remain in effect until parenthesis boundary", in CompositeUsage()
331 "-sampling-factor geometry", in CompositeUsage()
333 "-scene value image scene number", in CompositeUsage()
334 "-seed value seed a new sequence of pseudo-random numbers", in CompositeUsage()
335 "-size geometry width and height of image", in CompositeUsage()
336 "-support factor resize support: > 1.0 is blurry, < 1.0 is sharp", in CompositeUsage()
337 "-synchronize synchronize image to storage device", in CompositeUsage()
338 "-taint declare the image as modified", in CompositeUsage()
339 "-transparent-color color", in CompositeUsage()
341 "-treedepth value color tree depth", in CompositeUsage()
342 "-tile repeat composite operation across and down image", in CompositeUsage()
343 "-units type the units of image resolution", in CompositeUsage()
344 "-verbose print detailed information about the image", in CompositeUsage()
345 "-virtual-pixel method", in CompositeUsage()
347 "-white-point point chromaticity white point", in CompositeUsage()
352 "-swap indexes swap two images in the image sequence", in CompositeUsage()
381 (void) printf("'-' for standard input or output.\n"); in CompositeUsage()
389 composite_options->channel=DefaultChannels; in GetCompositeOptions()
390 composite_options->compose=OverCompositeOp; in GetCompositeOptions()
395 if (composite_options->compose_args != (char *) NULL) in RelinquishCompositeOptions()
396 composite_options->compose_args=(char *) in RelinquishCompositeOptions()
397 RelinquishMagickMemory(composite_options->compose_args); in RelinquishCompositeOptions()
398 if (composite_options->geometry != (char *) NULL) in RelinquishCompositeOptions()
399 composite_options->geometry=(char *) in RelinquishCompositeOptions()
400 RelinquishMagickMemory(composite_options->geometry); in RelinquishCompositeOptions()
415 #define ThrowCompositeException(asperity,tag,option) \ in CompositeImageCommand() argument
418 option == (char *) NULL ? GetExceptionMessage(errno) : option); \ in CompositeImageCommand()
422 #define ThrowCompositeInvalidArgumentException(option,argument) \ in CompositeImageCommand() argument
425 "InvalidArgument","'%s': %s",option,argument); \ in CompositeImageCommand()
432 *option; in CompositeImageCommand() local
468 assert(image_info->signature == MagickCoreSignature); in CompositeImageCommand()
469 if (image_info->debug != MagickFalse) in CompositeImageCommand()
474 option=argv[1]; in CompositeImageCommand()
475 if ((LocaleCompare("version",option+1) == 0) || in CompositeImageCommand()
476 (LocaleCompare("-version",option+1) == 0)) in CompositeImageCommand()
490 option=(char *) NULL; in CompositeImageCommand()
505 for (i=1; i < (ssize_t) (argc-1); i++) in CompositeImageCommand()
507 option=argv[i]; in CompositeImageCommand()
508 if (LocaleCompare(option,"(") == 0) in CompositeImageCommand()
513 option); in CompositeImageCommand()
517 if (LocaleCompare(option,")") == 0) in CompositeImageCommand()
521 ThrowCompositeException(OptionError,"UnableToParseExpression",option); in CompositeImageCommand()
525 if (IsCommandOption(option) == MagickFalse) in CompositeImageCommand()
532 if ((LocaleCompare(filename,"--") == 0) && (i < (ssize_t) (argc-1))) in CompositeImageCommand()
536 (exception->severity < ErrorException); in CompositeImageCommand()
543 switch (*(option+1)) in CompositeImageCommand()
547 if (LocaleCompare("affine",option+1) == 0) in CompositeImageCommand()
549 if (*option == '+') in CompositeImageCommand()
553 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
555 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
558 if (LocaleCompare("alpha",option+1) == 0) in CompositeImageCommand()
563 if (*option == '+') in CompositeImageCommand()
567 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
574 if (LocaleCompare("authenticate",option+1) == 0) in CompositeImageCommand()
576 if (*option == '+') in CompositeImageCommand()
580 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
583 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
587 if (LocaleCompare("background",option+1) == 0) in CompositeImageCommand()
589 if (*option == '+') in CompositeImageCommand()
593 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
596 if (LocaleCompare("blend",option+1) == 0) in CompositeImageCommand()
599 if (*option == '+') in CompositeImageCommand()
603 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
605 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
610 if (LocaleCompare("blur",option+1) == 0) in CompositeImageCommand()
613 if (*option == '+') in CompositeImageCommand()
617 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
619 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
624 if (LocaleCompare("blue-primary",option+1) == 0) in CompositeImageCommand()
626 if (*option == '+') in CompositeImageCommand()
630 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
632 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
635 if (LocaleCompare("border",option+1) == 0) in CompositeImageCommand()
637 if (*option == '+') in CompositeImageCommand()
641 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
643 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
646 if (LocaleCompare("bordercolor",option+1) == 0) in CompositeImageCommand()
648 if (*option == '+') in CompositeImageCommand()
652 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
655 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
659 if (LocaleCompare("cache",option+1) == 0) in CompositeImageCommand()
661 if (*option == '+') in CompositeImageCommand()
665 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
667 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
670 if (LocaleCompare("channel",option+1) == 0) in CompositeImageCommand()
675 if (*option == '+') in CompositeImageCommand()
682 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
690 if (LocaleCompare("colors",option+1) == 0) in CompositeImageCommand()
692 if (*option == '+') in CompositeImageCommand()
696 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
698 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
701 if (LocaleCompare("colorspace",option+1) == 0) in CompositeImageCommand()
706 if (*option == '+') in CompositeImageCommand()
710 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
718 if (LocaleCompare("comment",option+1) == 0) in CompositeImageCommand()
720 if (*option == '+') in CompositeImageCommand()
724 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
727 if (LocaleCompare("compose",option+1) == 0) in CompositeImageCommand()
733 if (*option == '+') in CompositeImageCommand()
737 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
746 if (LocaleCompare("compress",option+1) == 0) in CompositeImageCommand()
751 if (*option == '+') in CompositeImageCommand()
755 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
763 if (LocaleCompare("concurrent",option+1) == 0) in CompositeImageCommand()
765 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
769 if (LocaleCompare("debug",option+1) == 0) in CompositeImageCommand()
774 if (*option == '+') in CompositeImageCommand()
778 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
786 if (LocaleCompare("decipher",option+1) == 0) in CompositeImageCommand()
788 if (*option == '+') in CompositeImageCommand()
792 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
795 if (LocaleCompare("define",option+1) == 0) in CompositeImageCommand()
799 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
800 if (*option == '+') in CompositeImageCommand()
812 if (LocaleCompare("density",option+1) == 0) in CompositeImageCommand()
814 if (*option == '+') in CompositeImageCommand()
818 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
820 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
823 if (LocaleCompare("depth",option+1) == 0) in CompositeImageCommand()
825 if (*option == '+') in CompositeImageCommand()
829 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
831 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
834 if (LocaleCompare("displace",option+1) == 0) in CompositeImageCommand()
837 if (*option == '+') in CompositeImageCommand()
841 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
843 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
848 if (LocaleCompare("display",option+1) == 0) in CompositeImageCommand()
850 if (*option == '+') in CompositeImageCommand()
854 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
857 if (LocaleCompare("dispose",option+1) == 0) in CompositeImageCommand()
862 if (*option == '+') in CompositeImageCommand()
866 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
873 if (LocaleCompare("dissolve",option+1) == 0) in CompositeImageCommand()
876 if (*option == '+') in CompositeImageCommand()
880 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
882 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
887 if (LocaleCompare("distort",option+1) == 0) in CompositeImageCommand()
890 if (*option == '+') in CompositeImageCommand()
894 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
896 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
901 if (LocaleCompare("dither",option+1) == 0) in CompositeImageCommand()
906 if (*option == '+') in CompositeImageCommand()
910 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
917 if (LocaleCompare("duration",option+1) == 0) in CompositeImageCommand()
919 if (*option == '+') in CompositeImageCommand()
923 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
925 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
928 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
932 if (LocaleCompare("encipher",option+1) == 0) in CompositeImageCommand()
934 if (*option == '+') in CompositeImageCommand()
938 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
941 if (LocaleCompare("encoding",option+1) == 0) in CompositeImageCommand()
943 if (*option == '+') in CompositeImageCommand()
947 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
950 if (LocaleCompare("endian",option+1) == 0) in CompositeImageCommand()
955 if (*option == '+') in CompositeImageCommand()
959 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
967 if (LocaleCompare("extract",option+1) == 0) in CompositeImageCommand()
969 if (*option == '+') in CompositeImageCommand()
973 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
975 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
978 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
982 if (LocaleCompare("filter",option+1) == 0) in CompositeImageCommand()
987 if (*option == '+') in CompositeImageCommand()
991 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
998 if (LocaleCompare("font",option+1) == 0) in CompositeImageCommand()
1000 if (*option == '+') in CompositeImageCommand()
1004 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1007 if (LocaleCompare("format",option+1) == 0) in CompositeImageCommand()
1009 if (*option == '+') in CompositeImageCommand()
1013 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1017 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1021 if (LocaleCompare("geometry",option+1) == 0) in CompositeImageCommand()
1024 if (*option == '+') in CompositeImageCommand()
1028 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1030 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1034 if (LocaleCompare("gravity",option+1) == 0) in CompositeImageCommand()
1040 if (*option == '+') in CompositeImageCommand()
1044 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1053 if (LocaleCompare("green-primary",option+1) == 0) in CompositeImageCommand()
1055 if (*option == '+') in CompositeImageCommand()
1059 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1061 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1064 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1068 if ((LocaleCompare("help",option+1) == 0) || in CompositeImageCommand()
1069 (LocaleCompare("-help",option+1) == 0)) in CompositeImageCommand()
1071 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1075 if (LocaleCompare("identify",option+1) == 0) in CompositeImageCommand()
1077 if (LocaleCompare("interlace",option+1) == 0) in CompositeImageCommand()
1082 if (*option == '+') in CompositeImageCommand()
1086 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1094 if (LocaleCompare("interpolate",option+1) == 0) in CompositeImageCommand()
1099 if (*option == '+') in CompositeImageCommand()
1103 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1111 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1115 if (LocaleCompare("label",option+1) == 0) in CompositeImageCommand()
1117 if (*option == '+') in CompositeImageCommand()
1121 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1124 if (LocaleCompare("limit",option+1) == 0) in CompositeImageCommand()
1135 if (*option == '+') in CompositeImageCommand()
1139 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1147 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1151 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1154 if (LocaleCompare("list",option+1) == 0) in CompositeImageCommand()
1159 if (*option == '+') in CompositeImageCommand()
1163 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1168 status=MogrifyImageInfo(image_info,(int) (i-j+1),(const char **) in CompositeImageCommand()
1173 if (LocaleCompare("log",option+1) == 0) in CompositeImageCommand()
1175 if (*option == '+') in CompositeImageCommand()
1179 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1182 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1186 if (LocaleCompare("matte",option+1) == 0) in CompositeImageCommand()
1188 if (LocaleCompare("monitor",option+1) == 0) in CompositeImageCommand()
1190 if (LocaleCompare("monochrome",option+1) == 0) in CompositeImageCommand()
1192 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1196 if (LocaleCompare("negate",option+1) == 0) in CompositeImageCommand()
1198 if (LocaleCompare("noop",option+1) == 0) in CompositeImageCommand()
1200 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1204 if (LocaleCompare("page",option+1) == 0) in CompositeImageCommand()
1206 if (*option == '+') in CompositeImageCommand()
1210 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1213 if (LocaleCompare("pointsize",option+1) == 0) in CompositeImageCommand()
1215 if (*option == '+') in CompositeImageCommand()
1219 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1221 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1224 if (LocaleCompare("process",option+1) == 0) in CompositeImageCommand()
1226 if (*option == '+') in CompositeImageCommand()
1230 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1233 if (LocaleCompare("profile",option+1) == 0) in CompositeImageCommand()
1237 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1240 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1244 if (LocaleCompare("quality",option+1) == 0) in CompositeImageCommand()
1246 if (*option == '+') in CompositeImageCommand()
1250 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1252 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1255 if (LocaleCompare("quantize",option+1) == 0) in CompositeImageCommand()
1260 if (*option == '+') in CompositeImageCommand()
1264 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1272 if (LocaleCompare("quiet",option+1) == 0) in CompositeImageCommand()
1274 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1278 if (LocaleCompare("red-primary",option+1) == 0) in CompositeImageCommand()
1280 if (*option == '+') in CompositeImageCommand()
1284 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1286 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1289 if (LocaleCompare("regard-warnings",option+1) == 0) in CompositeImageCommand()
1291 if (LocaleCompare("render",option+1) == 0) in CompositeImageCommand()
1293 if (LocaleCompare("repage",option+1) == 0) in CompositeImageCommand()
1295 if (*option == '+') in CompositeImageCommand()
1299 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1301 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1304 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in CompositeImageCommand()
1306 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in CompositeImageCommand()
1309 if (LocaleCompare("resize",option+1) == 0) in CompositeImageCommand()
1311 if (*option == '+') in CompositeImageCommand()
1315 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1317 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1320 if (LocaleCompare("rotate",option+1) == 0) in CompositeImageCommand()
1324 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1326 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1329 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1333 if (LocaleCompare("sampling-factor",option+1) == 0) in CompositeImageCommand()
1335 if (*option == '+') in CompositeImageCommand()
1339 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1341 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1344 if (LocaleCompare("scene",option+1) == 0) in CompositeImageCommand()
1346 if (*option == '+') in CompositeImageCommand()
1350 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1352 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1355 if (LocaleCompare("seed",option+1) == 0) in CompositeImageCommand()
1357 if (*option == '+') in CompositeImageCommand()
1361 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1363 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1366 if (LocaleCompare("sharpen",option+1) == 0) in CompositeImageCommand()
1370 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1372 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1375 if (LocaleCompare("shave",option+1) == 0) in CompositeImageCommand()
1377 if (*option == '+') in CompositeImageCommand()
1381 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1383 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1386 if (LocaleCompare("size",option+1) == 0) in CompositeImageCommand()
1388 if (*option == '+') in CompositeImageCommand()
1392 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1394 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1397 if (LocaleCompare("stegano",option+1) == 0) in CompositeImageCommand()
1400 if (*option == '+') in CompositeImageCommand()
1404 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1406 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1410 if (LocaleCompare("stereo",option+1) == 0) in CompositeImageCommand()
1416 if (*option == '+') in CompositeImageCommand()
1420 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1422 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1429 if (LocaleCompare("strip",option+1) == 0) in CompositeImageCommand()
1431 if (LocaleCompare("support",option+1) == 0) in CompositeImageCommand()
1436 if (LocaleCompare("swap",option+1) == 0) in CompositeImageCommand()
1438 if (*option == '+') in CompositeImageCommand()
1442 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1444 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1447 if (LocaleCompare("synchronize",option+1) == 0) in CompositeImageCommand()
1449 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1453 if (LocaleCompare("taint",option+1) == 0) in CompositeImageCommand()
1455 if (LocaleCompare("thumbnail",option+1) == 0) in CompositeImageCommand()
1457 if (*option == '+') in CompositeImageCommand()
1461 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1463 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1466 if (LocaleCompare("tile",option+1) == 0) in CompositeImageCommand()
1468 composite_options.tile=(*option == '-') ? MagickTrue : MagickFalse; in CompositeImageCommand()
1472 if (LocaleCompare("transform",option+1) == 0) in CompositeImageCommand()
1474 if (LocaleCompare("transparent-color",option+1) == 0) in CompositeImageCommand()
1476 if (*option == '+') in CompositeImageCommand()
1480 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1483 if (LocaleCompare("treedepth",option+1) == 0) in CompositeImageCommand()
1485 if (*option == '+') in CompositeImageCommand()
1489 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1491 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1494 if (LocaleCompare("type",option+1) == 0) in CompositeImageCommand()
1499 if (*option == '+') in CompositeImageCommand()
1503 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1510 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1514 if (LocaleCompare("units",option+1) == 0) in CompositeImageCommand()
1519 if (*option == '+') in CompositeImageCommand()
1523 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1531 if (LocaleCompare("unsharp",option+1) == 0) in CompositeImageCommand()
1534 if (*option == '+') in CompositeImageCommand()
1538 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1540 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1545 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1549 if (LocaleCompare("verbose",option+1) == 0) in CompositeImageCommand()
1551 if ((LocaleCompare("version",option+1) == 0) || in CompositeImageCommand()
1552 (LocaleCompare("-version",option+1) == 0)) in CompositeImageCommand()
1557 if (LocaleCompare("virtual-pixel",option+1) == 0) in CompositeImageCommand()
1562 if (*option == '+') in CompositeImageCommand()
1566 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1574 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1578 if (LocaleCompare("watermark",option+1) == 0) in CompositeImageCommand()
1581 if (*option == '+') in CompositeImageCommand()
1585 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1587 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1592 if (LocaleCompare("white-point",option+1) == 0) in CompositeImageCommand()
1594 if (*option == '+') in CompositeImageCommand()
1598 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1600 ThrowCompositeInvalidArgumentException(option,argv[i]); in CompositeImageCommand()
1603 if (LocaleCompare("write",option+1) == 0) in CompositeImageCommand()
1607 ThrowCompositeException(OptionError,"MissingArgument",option); in CompositeImageCommand()
1610 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1615 ThrowCompositeException(OptionError,"UnrecognizedOption",option) in CompositeImageCommand()
1617 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in CompositeImageCommand()
1624 if (i-- != (ssize_t) (argc-1)) in CompositeImageCommand()
1627 ThrowCompositeException(OptionError,"MissingAnImageFilename",argv[argc-1]); in CompositeImageCommand()
1630 ThrowCompositeException(OptionError,"MissingAnImageFilename",argv[argc-1]); in CompositeImageCommand()
1636 if (composite_image->geometry != (char *) NULL) in CompositeImageCommand()
1641 (void) ParseRegionGeometry(composite_image,composite_image->geometry, in CompositeImageCommand()
1643 if ((composite_image->columns != resize_geometry.width) || in CompositeImageCommand()
1644 (composite_image->rows != resize_geometry.height)) in CompositeImageCommand()
1650 resize_geometry.height,composite_image->filter,exception); in CompositeImageCommand()
1676 status&=WriteImages(image_info,images,argv[argc-1],exception); in CompositeImageCommand()