MagickWand  7.0.7
Convert, Edit, Or Compose Bitmap Images
conjure.c File Reference
Include dependency graph for conjure.c:

Go to the source code of this file.

Macros

#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)
 

Macro Definition Documentation

◆ DestroyConjure

#define DestroyConjure ( )
Value:
{ \
image=DestroyImageList(image); \
for (i=0; i < (ssize_t) argc; i++) \
argv[i]=DestroyString(argv[i]); \
argv=(char **) RelinquishMagickMemory(argv); \
}

◆ ThrowConjureException

#define ThrowConjureException (   asperity,
  tag,
  option 
)
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \
option); \
DestroyConjure(); \
return(MagickFalse); \
}

Referenced by ConjureImageCommand().

◆ ThrowConjureInvalidArgumentException

#define ThrowConjureInvalidArgumentException (   option,
  argument 
)
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),OptionError, \
"InvalidArgument","'%s': %s",option,argument); \
DestroyConjure(); \
return(MagickFalse); \
}

Referenced by ConjureImageCommand().

Function Documentation

◆ ConjureImageCommand()

WandExport MagickBooleanType ConjureImageCommand ( ImageInfo *  image_info,
int  argc,
char **  argv,
char **  wand_unusedmetadata,
ExceptionInfo *  exception 
)

◆ ConjureUsage()

static MagickBooleanType ConjureUsage ( void  )
static

Definition at line 90 of file conjure.c.

Referenced by ConjureImageCommand().