#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/mogrify-private.h"
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 | |||
) |
static MagickBooleanType ConjureUsage | ( | void | ) | [static] |
Referenced by ConjureImageCommand().