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"

Defines

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

Define Documentation

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

Referenced by StreamImageCommand().

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

Referenced by StreamImageCommand().

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

Referenced by StreamImageCommand().


Function Documentation

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

Referenced by StreamImageCommand().


Generated on 27 Apr 2020 for MagickWand by  doxygen 1.6.1