MagickWand 7.1.0
Convert, Edit, Or Compose Bitmap Images
montage.c File Reference
#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/mogrify-private.h"
#include "MagickCore/string-private.h"
Include dependency graph for montage.c:

Go to the source code of this file.

Macros

#define DestroyMontage()
 
#define ThrowMontageException(asperity, tag, option)
 
#define ThrowMontageInvalidArgumentException(option, argument)
 

Functions

static MagickBooleanType MontageUsage (void)
 
WandExport MagickBooleanType MontageImageCommand (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ DestroyMontage

#define DestroyMontage ( )
Value:
{ \
if (montage_image != (Image *) NULL) \
montage_image=DestroyImageList(montage_image); \
if (montage_info != (MontageInfo *) NULL) \
montage_info=DestroyMontageInfo(montage_info); \
DestroyImageStack(); \
for (i=0; i < (ssize_t) argc; i++) \
argv[i]=DestroyString(argv[i]); \
argv=(char **) RelinquishMagickMemory(argv); \
}

◆ ThrowMontageException

#define ThrowMontageException (   asperity,
  tag,
  option 
)
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \
option); \
DestroyMontage(); \
return(MagickFalse); \
}

◆ ThrowMontageInvalidArgumentException

#define ThrowMontageInvalidArgumentException (   option,
  argument 
)
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),OptionError, \
"InvalidArgument","'%s': %s",option,argument); \
DestroyMontage(); \
return(MagickFalse); \
}

Function Documentation

◆ MontageImageCommand()

WandExport MagickBooleanType MontageImageCommand ( ImageInfo *  image_info,
int  argc,
char **  argv,
char **  metadata,
ExceptionInfo *  exception 
)

◆ MontageUsage()

static MagickBooleanType MontageUsage ( void  )
static

Definition at line 84 of file montage.c.

Referenced by MontageImageCommand().