|
MagickWand
6.7.5
|
#include "MagickWand/studio.h"#include "MagickWand/MagickWand.h"#include "MagickWand/mogrify-private.h"
Go to the source code of this file.
Defines | |
| #define | DestroyConjure() |
| #define | ThrowConjureException(asperity, tag, option) |
| #define | ThrowConjureInvalidArgumentException(option, argument) |
Functions | |
| static MagickBooleanType | ConjureUsage (void) |
| WandExport MagickBooleanType | ConjureImageCommand (ImageInfo *image_info, int argc, char **argv, char **wand_unused(metadata), ExceptionInfo *exception) |
| #define DestroyConjure | ( | ) |
{ \
image=DestroyImageList(image); \
for (i=0; i < (ssize_t) argc; i++) \
argv[i]=DestroyString(argv[i]); \
argv=(char **) RelinquishMagickMemory(argv); \
}
| #define ThrowConjureException | ( | asperity, | |
| tag, | |||
| option | |||
| ) |
{ \
(void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \
option); \
DestroyConjure(); \
return(MagickFalse); \
}
Referenced by ConjureImageCommand().
| #define ThrowConjureInvalidArgumentException | ( | option, | |
| argument | |||
| ) |
{ \
(void) ThrowMagickException(exception,GetMagickModule(),OptionError, \
"InvalidArgument","`%s': %s",option,argument); \
DestroyConjure(); \
return(MagickFalse); \
}
Referenced by ConjureImageCommand().
| WandExport MagickBooleanType ConjureImageCommand | ( | ImageInfo * | image_info, |
| int | argc, | ||
| char ** | argv, | ||
| char ** | wand_unusedmetadata, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 132 of file conjure.c.
References image, ConjureUsage(), ReadCommandlLine, ThrowConjureException, ThrowConjureInvalidArgumentException, and MaxTextExtent.
| static MagickBooleanType ConjureUsage | ( | void | ) | [static] |
Definition at line 90 of file conjure.c.
Referenced by ConjureImageCommand().