#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/mogrify-private.h"
#include "MagickCore/string-private.h"
Go to the source code of this file.
◆ DestroyIdentify
#define DestroyIdentify |
( |
| ) |
|
Value:{ \
DestroyImageStack(); \
for (i=0; i < (ssize_t) argc; i++) \
argv[i]=DestroyString(argv[i]); \
argv=(char **) RelinquishMagickMemory(argv); \
}
◆ ThrowIdentifyException
#define ThrowIdentifyException |
( |
|
asperity, |
|
|
|
tag, |
|
|
|
option |
|
) |
| |
Value:{ \
(void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \
option); \
DestroyIdentify(); \
return(MagickFalse); \
}
◆ ThrowIdentifyInvalidArgumentException
#define ThrowIdentifyInvalidArgumentException |
( |
|
option, |
|
|
|
argument |
|
) |
| |
Value:{ \
(void) ThrowMagickException(exception,GetMagickModule(),OptionError, \
"InvalidArgument","'%s': %s",option,argument); \
DestroyIdentify(); \
return(MagickFalse); \
}
◆ IdentifyImageCommand()
WandExport MagickBooleanType IdentifyImageCommand |
( |
ImageInfo * |
image_info, |
|
|
int |
argc, |
|
|
char ** |
argv, |
|
|
char ** |
metadata, |
|
|
ExceptionInfo * |
exception |
|
) |
| |
Definition at line 172 of file identify.c.
References AppendImageStack, DestroyIdentify, FinalizeImageSettings, FireImageStack, IdentifyUsage(), MaxImageStackDepth, MogrifyImageInfo(), NewImageStack, PopImageStack, PushImageStack, ReadCommandlLine, RemoveAllImageStack, ThrowIdentifyException, and ThrowIdentifyInvalidArgumentException.
◆ IdentifyUsage()
static MagickBooleanType IdentifyUsage |
( |
void |
| ) |
|
|
static |