#include "wand/studio.h"
#include "wand/MagickWand.h"
#include "wand/mogrify-private.h"
#include "magick/string-private.h"
#include "magick/utility-private.h"
Defines | |
#define | ThrowFileException(exception, severity, tag, context) |
#define | NotInitialized (unsigned int) (~0) |
#define | DestroyConvert() |
#define | ThrowConvertException(asperity, tag, option) |
#define | ThrowConvertInvalidArgumentException(option, argument) |
Functions | |
static MagickBooleanType | ConcatenateImages (int argc, char **argv, ExceptionInfo *exception) |
static MagickBooleanType | ConvertUsage (void) |
WandExport MagickBooleanType | ConvertImageCommand (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception) |
#define DestroyConvert | ( | ) |
{ \ DestroyImageStack(); \ for (i=0; i < (ssize_t) argc; i++) \ argv[i]=DestroyString(argv[i]); \ argv=(char **) RelinquishMagickMemory(argv); \ }
Referenced by ConvertImageCommand().
#define NotInitialized (unsigned int) (~0) |
#define ThrowConvertException | ( | asperity, | |||
tag, | |||||
option | ) |
{ \ (void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \ option); \ DestroyConvert(); \ return(MagickFalse); \ }
Referenced by ConvertImageCommand().
#define ThrowConvertInvalidArgumentException | ( | option, | |||
argument | ) |
{ \ (void) ThrowMagickException(exception,GetMagickModule(),OptionError, \ "InvalidArgument","`%s': %s",option,argument); \ DestroyConvert(); \ return(MagickFalse); \ }
Referenced by ConvertImageCommand().
#define ThrowFileException | ( | exception, | |||
severity, | |||||
tag, | |||||
context | ) |
{ \ (void) ThrowMagickException(exception,GetMagickModule(),severity, \ tag == (const char *) NULL ? "unknown" : tag,"`%s': %s",context, \ GetExceptionMessage(errno)); \ }
Referenced by ConcatenateImages().
static MagickBooleanType ConcatenateImages | ( | int | argc, | |
char ** | argv, | |||
ExceptionInfo * | exception | |||
) | [static] |
References ThrowFileException.
Referenced by ConvertImageCommand().
WandExport MagickBooleanType ConvertImageCommand | ( | ImageInfo * | image_info, | |
int | argc, | |||
char ** | argv, | |||
char ** | metadata, | |||
ExceptionInfo * | exception | |||
) |
References AppendImageStack, ConcatenateImages(), ConvertUsage(), DestroyConvert, FinalizeImageSettings, FireImageStack, MaxImageStackDepth, MaxTextExtent, MogrifyImageInfo(), NewImageStack, PopImageStack, PushImageStack, ReadCommandlLine, ThrowConvertException, and ThrowConvertInvalidArgumentException.
static MagickBooleanType ConvertUsage | ( | void | ) | [static] |
Referenced by ConvertImageCommand().