#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/mogrify-private.h"
#include "MagickCore/string-private.h"
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 DestroyIdentify | ( | ) |
{ \ 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 | ) |
{ \ (void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \ option); \ DestroyIdentify(); \ return(MagickFalse); \ }
Referenced by IdentifyImageCommand().
#define ThrowIdentifyInvalidArgumentException | ( | option, | |||
argument | ) |
{ \ (void) ThrowMagickException(exception,GetMagickModule(),OptionError, \ "InvalidArgument","'%s': %s",option,argument); \ DestroyIdentify(); \ return(MagickFalse); \ }
Referenced by IdentifyImageCommand().
WandExport MagickBooleanType IdentifyImageCommand | ( | ImageInfo * | image_info, | |
int | argc, | |||
char ** | argv, | |||
char ** | metadata, | |||
ExceptionInfo * | exception | |||
) |
References AppendImageStack, DestroyIdentify, FinalizeImageSettings, FireImageStack, IdentifyUsage(), _DrawingWand::image, MaxImageStackDepth, MogrifyImageInfo(), NewImageStack, PopImageStack, PushImageStack, ReadCommandlLine, RemoveAllImageStack, ThrowIdentifyException, and ThrowIdentifyInvalidArgumentException.
static MagickBooleanType IdentifyUsage | ( | void | ) | [static] |
Referenced by IdentifyImageCommand().