MagickWand  7.0.3
stream.c File Reference
#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/mogrify-private.h"
#include "MagickCore/stream-private.h"
#include "MagickCore/string-private.h"
Include dependency graph for stream.c:

Go to the source code of this file.

Macros

#define DestroyStream()
 
#define ThrowStreamException(asperity, tag, option)
 
#define ThrowStreamInvalidArgumentException(option, argument)
 

Functions

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

Macro Definition Documentation

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

Referenced by StreamImageCommand().

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

Referenced by StreamImageCommand().

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

Referenced by StreamImageCommand().

Function Documentation

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

Definition at line 87 of file stream.c.

Referenced by StreamImageCommand().