MagickWand  6.7.5
conjure.c File Reference
Include dependency graph for conjure.c:

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 Documentation

#define DestroyConjure ( )
Value:
{ \
  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 
)
Value:
{ \
  (void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \
     option); \
  DestroyConjure(); \
  return(MagickFalse); \
}

Referenced by ConjureImageCommand().

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

Referenced by ConjureImageCommand().


Function Documentation

WandExport MagickBooleanType ConjureImageCommand ( ImageInfo *  image_info,
int  argc,
char **  argv,
char **  wand_unusedmetadata,
ExceptionInfo *  exception 
)
static MagickBooleanType ConjureUsage ( void  ) [static]

Definition at line 90 of file conjure.c.

Referenced by ConjureImageCommand().