identify.c File Reference

#include "wand/studio.h"
#include "wand/MagickWand.h"
#include "wand/mogrify-private.h"
#include "magick/string-private.h"
Include dependency graph for identify.c:

Defines

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

Define Documentation

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

Referenced by IdentifyImageCommand().

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

Referenced by IdentifyImageCommand().

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

Referenced by IdentifyImageCommand().


Function Documentation

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

Referenced by IdentifyImageCommand().


Generated on 10 Aug 2020 for MagickWand by  doxygen 1.6.1