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

Go to the source code of this file.

Macros

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

Macro Definition Documentation

◆ DestroyConvert

#define DestroyConvert ( )
Value:
{ \
DestroyImageStack(); \
for (i=0; i < (ssize_t) argc; i++) \
argv[i]=DestroyString(argv[i]); \
argv=(char **) RelinquishMagickMemory(argv); \
}

◆ NotInitialized

#define NotInitialized   (unsigned int) (~0)

◆ ThrowConvertException

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

◆ ThrowConvertInvalidArgumentException

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

Function Documentation

◆ ConcatenateImages()

static MagickBooleanType ConcatenateImages ( int  argc,
char **  argv,
ExceptionInfo *  exception 
)
static

Definition at line 86 of file convert.c.

Referenced by ConvertImageCommand().

◆ ConvertImageCommand()

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

◆ ConvertUsage()

static MagickBooleanType ConvertUsage ( void  )
static

Definition at line 131 of file convert.c.

Referenced by ConvertImageCommand().