MagickWand  7.0.3
identify.c File Reference
#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/mogrify-private.h"
#include "MagickCore/string-private.h"
Include dependency graph for identify.c:

Go to the source code of this file.

Macros

#define DestroyIdentify()
 
#define ThrowIdentifyException(asperity, tag, option)
 
#define ThrowIdentifyInvalidArgumentException(option, argument)
 

Functions

static MagickBooleanType IdentifyUsage (void)
 
WandExport MagickBooleanType IdentifyImageCommand (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception)
 

Macro Definition Documentation

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

Referenced by IdentifyImageCommand().

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

Referenced by IdentifyImageCommand().

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

Referenced by IdentifyImageCommand().

Function Documentation

WandExport MagickBooleanType IdentifyImageCommand ( ImageInfo *  image_info,
int  argc,
char **  argv,
char **  metadata,
ExceptionInfo *  exception 
)
static MagickBooleanType IdentifyUsage ( void  )
static

Definition at line 93 of file identify.c.

Referenced by IdentifyImageCommand().