#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/mogrify-private.h"
#include "MagickCore/stream-private.h"
#include "MagickCore/string-private.h"
Go to the source code of this file.
◆ DestroyStream
#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); \
}
◆ ThrowStreamException
#define ThrowStreamException |
( |
|
asperity, |
|
|
|
tag, |
|
|
|
option |
|
) |
| |
Value:{ \
(void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \
option); \
DestroyStream(); \
return(MagickFalse); \
}
◆ ThrowStreamInvalidArgumentException
#define ThrowStreamInvalidArgumentException |
( |
|
option, |
|
|
|
argument |
|
) |
| |
Value:{ \
(void) ThrowMagickException(exception,GetMagickModule(),OptionError, \
"InvalidArgument","'%s': %s",option,argument); \
DestroyStream(); \
return(MagickFalse); \
}
◆ StreamImageCommand()
WandExport MagickBooleanType StreamImageCommand |
( |
ImageInfo * |
image_info, |
|
|
int |
argc, |
|
|
char ** |
argv, |
|
|
char ** |
metadata, |
|
|
ExceptionInfo * |
exception |
|
) |
| |
Definition at line 150 of file stream.c.
References AppendImageStack, DestroyStream, FinalizeImageSettings, FireImageStack, MagickPathExtent, MaxImageStackDepth, MogrifyImageInfo(), NewImageStack, PopImageStack, PushImageStack, ReadCommandlLine, StreamUsage(), ThrowStreamException, and ThrowStreamInvalidArgumentException.
◆ StreamUsage()
static MagickBooleanType StreamUsage |
( |
void |
| ) |
|
|
static |