montage.c File Reference

#include "wand/studio.h"
#include "wand/MagickWand.h"
#include "wand/mogrify-private.h"
#include "magick/string-private.h"
Include dependency graph for montage.c:

Defines

#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)

Define Documentation

 
#define DestroyMontage (  ) 
Value:
{ \
  if (montage_info != (MontageInfo *) NULL) \
    montage_info=DestroyMontageInfo(montage_info); \
  if (montage_info != (MontageInfo *) NULL) \
    montage_info=DestroyMontageInfo(montage_info); \
  if (montage_image != (Image *) NULL) \
    montage_image=DestroyImageList(montage_image); \
  DestroyImageStack(); \
  for (i=0; i < (ssize_t) 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",option,argument); \
  DestroyMontage(); \
  return(MagickFalse); \
}

Referenced by MontageImageCommand().


Function Documentation

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

Referenced by MontageImageCommand().


Generated on 11 May 2020 for MagickWand by  doxygen 1.6.1