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 *) AcquireCriticalMemory(sizeof(*cli_wand)); in AcquireMagickCLI()
94 cli_wand->wand.id=AcquireWandId(); in AcquireMagickCLI()
95 (void) FormatLocaleString(cli_wand->wand.name,MagickPathExtent, in AcquireMagickCLI()
96 "%s-%.20g","MagickWandCLI", (double) cli_wand->wand.id); in AcquireMagickCLI()
97 cli_wand->wand.images=NewImageList(); in AcquireMagickCLI()
99 cli_wand->wand.image_info=AcquireImageInfo(); in AcquireMagickCLI()
101 cli_wand->wand.image_info=image_info; in AcquireMagickCLI()
103 cli_wand->wand.exception=AcquireExceptionInfo(); in AcquireMagickCLI()
105 cli_wand->wand.exception=exception; in AcquireMagickCLI()
[all …]
Dmagick-cli.c111 WandExport void ProcessScriptOptions(MagickCLI *cli_wand,const char *filename, in ProcessScriptOptions() argument
132 assert(cli_wand != (MagickCLI *) NULL); in ProcessScriptOptions()
133 assert(cli_wand->signature == MagickWandSignature); in ProcessScriptOptions()
134 if (cli_wand->wand.debug != MagickFalse) in ProcessScriptOptions()
147 cli_wand->location="in \"%s\" at line %u,column %u"; in ProcessScriptOptions()
149 cli_wand->filename="stdin"; in ProcessScriptOptions()
151 cli_wand->filename=filename; in ProcessScriptOptions()
160 cli_wand->line=token_info->token_line; in ProcessScriptOptions()
161 cli_wand->column=token_info->token_column; in ProcessScriptOptions()
172 cli_wand->command = GetCommandOptionInfo(option); in ProcessScriptOptions()
[all …]
Doperation.c432 WandPrivate void CLISettingOptionInfo(MagickCLI *cli_wand, in CLISettingOptionInfo() argument
442 #define _image_info (cli_wand->wand.image_info) in CLISettingOptionInfo()
443 #define _image (cli_wand->wand.images) in CLISettingOptionInfo()
444 #define _exception (cli_wand->wand.exception) in CLISettingOptionInfo()
445 #define _draw_info (cli_wand->draw_info) in CLISettingOptionInfo()
446 #define _quantize_info (cli_wand->quantize_info) in CLISettingOptionInfo()
453 assert(cli_wand != (MagickCLI *) NULL); in CLISettingOptionInfo()
454 assert(cli_wand->signature == MagickWandSignature); in CLISettingOptionInfo()
455 assert(cli_wand->wand.signature == MagickWandSignature); in CLISettingOptionInfo()
457 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 CLIOption (cli_wand, "-size", "100x100"); in main()
38 CLIOption (cli_wand, "-read", "xc:red"); in main()
39 CLIOption (cli_wand, "(", NULL); in main()
40 CLIOption (cli_wand, "-read", "rose:"); in main()
41 CLIOption (cli_wand, "-rotate", "-90", NULL); in main()
42 CLIOption (cli_wand, ")", NULL); in main()
43 CLIOption (cli_wand, "+append", NULL, NULL); in main()
44 CLIOption (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); in main()
44 if ( CLICatchException(cli_wand,MagickTrue) != MagickFalse ) in main()
48 cli_wand = DestroyMagickCLI(cli_wand); in main()