• Home
  • Raw
  • Download

Lines Matching refs:cli_wand

412 WandPrivate void CLISettingOptionInfo(MagickCLI *cli_wand,  in CLISettingOptionInfo()  argument
422 #define _image_info (cli_wand->wand.image_info) in CLISettingOptionInfo()
423 #define _image (cli_wand->wand.images) in CLISettingOptionInfo()
424 #define _exception (cli_wand->wand.exception) in CLISettingOptionInfo()
425 #define _draw_info (cli_wand->draw_info) in CLISettingOptionInfo()
426 #define _quantize_info (cli_wand->quantize_info) in CLISettingOptionInfo()
433 assert(cli_wand != (MagickCLI *) NULL); in CLISettingOptionInfo()
434 assert(cli_wand->signature == MagickWandSignature); in CLISettingOptionInfo()
435 assert(cli_wand->wand.signature == MagickWandSignature); in CLISettingOptionInfo()
437 if (cli_wand->wand.debug != MagickFalse) in CLISettingOptionInfo()
438 (void) CLILogEvent(cli_wand,CommandEvent,GetMagickModule(), in CLISettingOptionInfo()
445 #define _process_flags (cli_wand->process_flags) in CLISettingOptionInfo()
446 #define _option_type ((CommandOptionFlags) cli_wand->command->flags) in CLISettingOptionInfo()
597 CLISettingOptionInfo(cli_wand,"-undercolor",arg1, arg2); in CLISettingOptionInfo()
695 cli_wand->wand.debug=IsEventLogging(); in CLISettingOptionInfo()
1643 static MagickBooleanType CLISimpleOperatorImage(MagickCLI *cli_wand, in CLISimpleOperatorImage() argument
1666 #define _image_info (cli_wand->wand.image_info) in CLISimpleOperatorImage()
1667 #define _image (cli_wand->wand.images) in CLISimpleOperatorImage()
1668 #define _exception (cli_wand->wand.exception) in CLISimpleOperatorImage()
1669 #define _draw_info (cli_wand->draw_info) in CLISimpleOperatorImage()
1670 #define _quantize_info (cli_wand->quantize_info) in CLISimpleOperatorImage()
1671 #define _process_flags (cli_wand->process_flags) in CLISimpleOperatorImage()
1672 #define _option_type ((CommandOptionFlags) cli_wand->command->flags) in CLISimpleOperatorImage()
1678 assert(cli_wand != (MagickCLI *) NULL); in CLISimpleOperatorImage()
1679 assert(cli_wand->signature == MagickWandSignature); in CLISimpleOperatorImage()
1680 assert(cli_wand->wand.signature == MagickWandSignature); in CLISimpleOperatorImage()
1682 if (cli_wand->wand.debug != MagickFalse) in CLISimpleOperatorImage()
1683 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",cli_wand->wand.name); in CLISimpleOperatorImage()
2457 (void) CLISimpleOperatorImage(cli_wand,"-gaussian-blur",arg1,NULL,exception); in CLISimpleOperatorImage()
2730 (void) CLISimpleOperatorImage(cli_wand,"-remap",NULL,NULL,exception); in CLISimpleOperatorImage()
2736 (void) CLISimpleOperatorImage(cli_wand,"-read-mask",NULL,NULL, in CLISimpleOperatorImage()
2765 (void) CLISimpleOperatorImage(cli_wand,"-statistic","Median",arg1,exception); in CLISimpleOperatorImage()
2772 (void) CLISimpleOperatorImage(cli_wand,"-statistic","Mode",arg1,exception); in CLISimpleOperatorImage()
2858 (void) CLISimpleOperatorImage(cli_wand,"-statistic","NonPeak",arg1,exception); in CLISimpleOperatorImage()
3092 (void) CLISimpleOperatorImage(cli_wand,"-color-matrix",arg1,NULL,exception); in CLISimpleOperatorImage()
3602 WandPrivate MagickBooleanType CLISimpleOperatorImages(MagickCLI *cli_wand, in CLISimpleOperatorImages() argument
3611 assert(cli_wand != (MagickCLI *) NULL); in CLISimpleOperatorImages()
3612 assert(cli_wand->signature == MagickWandSignature); in CLISimpleOperatorImages()
3613 assert(cli_wand->wand.signature == MagickWandSignature); in CLISimpleOperatorImages()
3614 assert(cli_wand->wand.images != (Image *) NULL); /* images must be present */ in CLISimpleOperatorImages()
3616 if (cli_wand->wand.debug != MagickFalse) in CLISimpleOperatorImages()
3617 (void) CLILogEvent(cli_wand,CommandEvent,GetMagickModule(), in CLISimpleOperatorImages()
3623 n=GetImageListLength(cli_wand->wand.images); in CLISimpleOperatorImages()
3624 cli_wand->wand.images=GetFirstImageInList(cli_wand->wand.images); in CLISimpleOperatorImages()
3627 CLISimpleOperatorImage(cli_wand, option, arg1, arg2,exception); in CLISimpleOperatorImages()
3628 if ( cli_wand->wand.images->next == (Image *) NULL ) in CLISimpleOperatorImages()
3630 cli_wand->wand.images=cli_wand->wand.images->next; in CLISimpleOperatorImages()
3633 cli_wand->wand.images=GetFirstImageInList(cli_wand->wand.images); in CLISimpleOperatorImages()
3635 MagickResetIterator(&cli_wand->wand); in CLISimpleOperatorImages()
3636 while (MagickNextImage(&cli_wand->wand) != MagickFalse) in CLISimpleOperatorImages()
3637 (void) CLISimpleOperatorImage(cli_wand, option, arg1, arg2,exception); in CLISimpleOperatorImages()
3638 MagickResetIterator(&cli_wand->wand); in CLISimpleOperatorImages()
3674 WandPrivate MagickBooleanType CLIListOperatorImages(MagickCLI *cli_wand, in CLIListOperatorImages() argument
3690 #define _image_info (cli_wand->wand.image_info) in CLIListOperatorImages()
3691 #define _images (cli_wand->wand.images) in CLIListOperatorImages()
3692 #define _exception (cli_wand->wand.exception) in CLIListOperatorImages()
3693 #define _draw_info (cli_wand->draw_info) in CLIListOperatorImages()
3694 #define _quantize_info (cli_wand->quantize_info) in CLIListOperatorImages()
3695 #define _process_flags (cli_wand->process_flags) in CLIListOperatorImages()
3696 #define _option_type ((CommandOptionFlags) cli_wand->command->flags) in CLIListOperatorImages()
3701 assert(cli_wand != (MagickCLI *) NULL); in CLIListOperatorImages()
3702 assert(cli_wand->signature == MagickWandSignature); in CLIListOperatorImages()
3703 assert(cli_wand->wand.signature == MagickWandSignature); in CLIListOperatorImages()
3706 if (cli_wand->wand.debug != MagickFalse) in CLIListOperatorImages()
3707 (void) CLILogEvent(cli_wand,CommandEvent,GetMagickModule(), in CLIListOperatorImages()
3753 (void) CLIListOperatorImages(cli_wand,"-evaluate-sequence","Mean",NULL); in CLIListOperatorImages()
3985 (void) CLIListOperatorImages(cli_wand,"-layer","CompareAny",NULL); in CLIListOperatorImages()
4051 (void) CLIListOperatorImages(cli_wand,"-layers",option+1,NULL); in CLIListOperatorImages()
4307 (void) CLIListOperatorImages(cli_wand,"-layers",option+1,NULL); in CLIListOperatorImages()
4596 WandPrivate void CLINoImageOperator(MagickCLI *cli_wand, in CLINoImageOperator() argument
4603 #define _image_info (cli_wand->wand.image_info) in CLINoImageOperator()
4604 #define _images (cli_wand->wand.images) in CLINoImageOperator()
4605 #define _exception (cli_wand->wand.exception) in CLINoImageOperator()
4606 #define _process_flags (cli_wand->process_flags) in CLINoImageOperator()
4607 #define _option_type ((CommandOptionFlags) cli_wand->command->flags) in CLINoImageOperator()
4611 assert(cli_wand != (MagickCLI *) NULL); in CLINoImageOperator()
4612 assert(cli_wand->signature == MagickWandSignature); in CLINoImageOperator()
4613 assert(cli_wand->wand.signature == MagickWandSignature); in CLINoImageOperator()
4615 if (cli_wand->wand.debug != MagickFalse) in CLINoImageOperator()
4616 (void) CLILogEvent(cli_wand,CommandEvent,GetMagickModule(), in CLINoImageOperator()
4757 node=cli_wand->image_list_stack; in CLINoImageOperator()
4766 node->data = (void *)cli_wand->wand.images; in CLINoImageOperator()
4767 node->next = cli_wand->image_list_stack; in CLINoImageOperator()
4768 cli_wand->image_list_stack = node; in CLINoImageOperator()
4769 cli_wand->wand.images = NewImageList(); in CLINoImageOperator()
4772 if (IsStringTrue(GetImageOption(cli_wand->wand.image_info, in CLINoImageOperator()
4788 node=cli_wand->image_info_stack; in CLINoImageOperator()
4798 node->data = (void *)cli_wand->wand.image_info; in CLINoImageOperator()
4799 node->next = cli_wand->image_info_stack; in CLINoImageOperator()
4801 cli_wand->image_info_stack = node; in CLINoImageOperator()
4802 cli_wand->wand.image_info = CloneImageInfo(cli_wand->wand.image_info); in CLINoImageOperator()
4803 if (cli_wand->wand.image_info == (ImageInfo *) NULL) { in CLINoImageOperator()
4806 cli_wand->wand.image_info = (ImageInfo *)node->data; in CLINoImageOperator()
4818 node = (Stack *)cli_wand->image_list_stack; in CLINoImageOperator()
4821 cli_wand->image_list_stack = node->next; in CLINoImageOperator()
4823 AppendImageToList((Image **)&node->data,cli_wand->wand.images); in CLINoImageOperator()
4824 cli_wand->wand.images= (Image *)node->data; in CLINoImageOperator()
4828 node = cli_wand->image_info_stack; in CLINoImageOperator()
4832 cli_wand->wand.image_info,"respect-parenthesis")) != MagickFalse) in CLINoImageOperator()
4846 node = (Stack *)cli_wand->image_info_stack; in CLINoImageOperator()
4849 cli_wand->image_info_stack = node->next; in CLINoImageOperator()
4851 (void) DestroyImageInfo(cli_wand->wand.image_info); in CLINoImageOperator()
4852 cli_wand->wand.image_info = (ImageInfo *)node->data; in CLINoImageOperator()
4855 GetDrawInfo(cli_wand->wand.image_info, cli_wand->draw_info); in CLINoImageOperator()
4856 cli_wand->quantize_info=DestroyQuantizeInfo(cli_wand->quantize_info); in CLINoImageOperator()
4857 cli_wand->quantize_info=AcquireQuantizeInfo(cli_wand->wand.image_info); in CLINoImageOperator()
4904 MagickResetIterator(&cli_wand->wand); in CLINoImageOperator()
4905 while (MagickNextImage(&cli_wand->wand) != MagickFalse) in CLINoImageOperator()
4907 MagickResetIterator(&cli_wand->wand); in CLINoImageOperator()
4928 MagickResetIterator(&cli_wand->wand); in CLINoImageOperator()
4929 while (MagickNextImage(&cli_wand->wand) != MagickFalse) in CLINoImageOperator()
4947 MagickResetIterator(&cli_wand->wand); in CLINoImageOperator()
4959 if ( cli_wand->image_list_stack == (Stack *) NULL) in CLINoImageOperator()
4961 new_images = (Image *)cli_wand->image_list_stack->data; in CLINoImageOperator()
5119 WandExport void CLIOption(MagickCLI *cli_wand,const char *option,...) in CLIOption() argument
5128 assert(cli_wand != (MagickCLI *) NULL); in CLIOption()
5129 assert(cli_wand->signature == MagickWandSignature); in CLIOption()
5130 assert(cli_wand->wand.signature == MagickWandSignature); in CLIOption()
5135 if ( cli_wand->command == (const OptionInfo *) NULL ) in CLIOption()
5136 cli_wand->command = GetCommandOptionInfo(option); in CLIOption()
5139 option, cli_wand->command->mnemonic ); in CLIOption()
5141 option_type=(CommandOptionFlags) cli_wand->command->flags; in CLIOption()
5146 assert( LocaleCompare(cli_wand->command->mnemonic,option) == 0 ); in CLIOption()
5161 count = (size_t) cli_wand->command->type; in CLIOption()
5188 if ( cli_wand->wand.images != (Image *) NULL ) in CLIOption()
5189 (void) SyncImagesSettings(cli_wand->wand.image_info,cli_wand->wand.images, in CLIOption()
5190 cli_wand->wand.exception); in CLIOption()
5193 CLISettingOptionInfo(cli_wand, option, arg1, arg2); in CLIOption()
5199 CLINoImageOperator(cli_wand, option, arg1, arg2); in CLIOption()
5204 if ( cli_wand->wand.images == (Image *) NULL ) in CLIOption()
5211 cli_wand->wand.images != (Image *) NULL) /* temp hack */ in CLIOption()
5214 (void) CLISimpleOperatorImages(cli_wand, option, arg1, arg2,exception); in CLIOption()
5220 (void) CLIListOperatorImages(cli_wand, option, arg1, arg2); in CLIOption()
5226 cli_wand->command = (const OptionInfo *) NULL; /* prevent re-use later */ in CLIOption()