#include "wand/studio.h"
#include "wand/MagickWand.h"
#include "wand/mogrify-private.h"
Go to the source code of this file.
Defines | |
| #define | DestroyMontage() |
| #define | ThrowMontageException(asperity, tag, option) |
| #define | ThrowMontageInvalidArgumentException(option, argument) |
Functions | |
| static void | MontageUsage (void) |
| WandExport MagickBooleanType | MontageImageCommand (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception) |
| #define DestroyMontage | ( | ) |
Value:
{ \
if (montage_image != (Image *) NULL) \
montage_image=DestroyImageList(montage_image); \
DestroyImageStack(); \
for (i=0; i < (long) argc; i++) \
argv[i]=DestroyString(argv[i]); \
argv=(char **) RelinquishMagickMemory(argv); \
}
Referenced by MontageImageCommand().
| #define ThrowMontageException | ( | asperity, | |||
| tag, | |||||
| option | ) |
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \
option); \
DestroyMontage(); \
return(MagickFalse); \
}
Referenced by MontageImageCommand().
| #define ThrowMontageInvalidArgumentException | ( | option, | |||
| argument | ) |
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),OptionError, \
"InvalidArgument","`%s': %s",argument,option); \
DestroyMontage(); \
return(MagickFalse); \
}
Referenced by MontageImageCommand().
| WandExport MagickBooleanType MontageImageCommand | ( | ImageInfo * | image_info, | |
| int | argc, | |||
| char ** | argv, | |||
| char ** | metadata, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 240 of file montage.c.
References AppendImageStack, DestroyMontage, FireImageStack, _ImageStack::image, MaxImageStackDepth, MaxTextExtent, MontageUsage(), NewImageStack, PopImageStack, PushImageStack, ReadCommandlLine, respect_parenthesis, ThrowMontageException, and ThrowMontageInvalidArgumentException.
| static void MontageUsage | ( | void | ) | [static] |
1.5.6