Home
last modified time | relevance | path

Searched refs:cli_wand (Results 1 – 6 of 6) sorted by relevance

/external/ImageMagick/MagickWand/
Dwandcli.c77 *cli_wand; in AcquireMagickCLI() local
88 cli_wand=(MagickCLI *) AcquireMagickMemory(sizeof(*cli_wand)); in AcquireMagickCLI()
89 if (cli_wand == (MagickCLI *) NULL) in AcquireMagickCLI()
97 cli_wand->wand.id=AcquireWandId(); in AcquireMagickCLI()
98 (void) FormatLocaleString(cli_wand->wand.name,MagickPathExtent, in AcquireMagickCLI()
99 "%s-%.20g","MagickWandCLI", (double) cli_wand->wand.id); in AcquireMagickCLI()
100 cli_wand->wand.images=NewImageList(); in AcquireMagickCLI()
102 cli_wand->wand.image_info=AcquireImageInfo(); in AcquireMagickCLI()
104 cli_wand->wand.image_info=image_info; in AcquireMagickCLI()
106 cli_wand->wand.exception=AcquireExceptionInfo(); in AcquireMagickCLI()
[all …]
Dmagick-cli.c111 WandExport void ProcessScriptOptions(MagickCLI *cli_wand,const char *filename, in ProcessScriptOptions() argument
129 assert(cli_wand != (MagickCLI *) NULL); in ProcessScriptOptions()
130 assert(cli_wand->signature == MagickWandSignature); in ProcessScriptOptions()
131 if (cli_wand->wand.debug != MagickFalse) in ProcessScriptOptions()
144 cli_wand->location="in \"%s\" at line %u,column %u"; in ProcessScriptOptions()
146 cli_wand->filename="stdin"; in ProcessScriptOptions()
148 cli_wand->filename=filename; in ProcessScriptOptions()
157 cli_wand->line=token_info->token_line; in ProcessScriptOptions()
158 cli_wand->column=token_info->token_column; in ProcessScriptOptions()
169 cli_wand->command = GetCommandOptionInfo(option); in ProcessScriptOptions()
[all …]
Doperation.c412 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()
[all …]
Dwandcli-private.h26 (void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \
30 (void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \
34 if ( (cli_wand->process_flags & ProcessWarnDeprecated) != 0 ) \
35 (void) CLIThrowException(cli_wand,GetMagickModule(),OptionWarning, \
40 (void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \
/external/ImageMagick/api_examples/
Dcli_operators.c31 *cli_wand; in main() local
35 cli_wand = AcquireMagickCLI((ImageInfo *) NULL,(ExceptionInfo *) NULL); in main()
37 CLISettingOptionInfo (cli_wand, "-size", "100x100"); in main()
38 CLISpecialOperator (cli_wand, "-read", "xc:red"); in main()
39 CLISpecialOperator (cli_wand, "(", NULL); in main()
40 CLISpecialOperator (cli_wand, "-read", "rose:"); in main()
41 CLISimpleOperatorImages (cli_wand, "-rotate", "-90", NULL); in main()
42 CLISpecialOperator (cli_wand, ")", NULL); in main()
43 CLIListOperatorImages (cli_wand, "+append", NULL, NULL); in main()
44 CLIListOperatorImages (cli_wand, "-write", "show:", NULL); in main()
[all …]
Dcli_process.c28 *cli_wand; in main() local
39 cli_wand = AcquireMagickCLI((ImageInfo *) NULL,(ExceptionInfo *) NULL); in main()
41 ProcessCommandOptions(cli_wand, arg_count, args, 0, MagickCommandOptionFlags); in main()
44 if ( CLICatchException(cli_wand,MagickTrue) != MagickFalse ) in main()
48 cli_wand = DestroyMagickCLI(cli_wand); in main()