#include "wand/studio.h"
#include "wand/MagickWand.h"
#include "wand/mogrify-private.h"
Go to the source code of this file.
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 void | ConvertUsage (void) |
| WandExport MagickBooleanType | ConvertImageCommand (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception) |
| #define DestroyConvert | ( | ) |
Value:
{ \
DestroyImageStack(); \
for (i=0; i < (long) argc; i++) \
argv[i]=DestroyString(argv[i]); \
argv=(char **) RelinquishMagickMemory(argv); \
}
Referenced by ConvertImageCommand().
| #define NotInitialized (unsigned int) (~0) |
| #define ThrowConvertException | ( | asperity, | |||
| tag, | |||||
| option | ) |
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \
option); \
DestroyConvert(); \
return(MagickFalse); \
}
Referenced by ConvertImageCommand().
| #define ThrowConvertInvalidArgumentException | ( | option, | |||
| argument | ) |
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),OptionError, \
"InvalidArgument","`%s': %s",argument,option); \
DestroyConvert(); \
return(MagickFalse); \
}
Referenced by ConvertImageCommand().
| #define ThrowFileException | ( | exception, | |||
| severity, | |||||
| tag, | |||||
| context | ) |
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),severity, \
tag == (const char *) NULL ? "unknown" : tag,"`%s': %s",context, \
strerror(errno)); \
}
Definition at line 57 of file convert.c.
Referenced by ConcatenateImages().
| static MagickBooleanType ConcatenateImages | ( | int | argc, | |
| char ** | argv, | |||
| ExceptionInfo * | exception | |||
| ) | [static] |
Definition at line 98 of file convert.c.
References ThrowFileException.
Referenced by ConvertImageCommand().
| WandExport MagickBooleanType ConvertImageCommand | ( | ImageInfo * | image_info, | |
| int | argc, | |||
| char ** | argv, | |||
| char ** | metadata, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 431 of file convert.c.
References AppendImageStack, ConcatenateImages(), ConvertUsage(), DestroyConvert, FireImageStack, _ImageStack::image, MaxImageStackDepth, MaxTextExtent, MogrifyImageInfo(), NewImageStack, PopImageStack, PushImageStack, ReadCommandlLine, respect_parenthesis, ThrowConvertException, and ThrowConvertInvalidArgumentException.
| static void ConvertUsage | ( | void | ) | [static] |
1.5.6