|
MagickWand
7.0.8
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickWand/studio.h"#include "MagickWand/MagickWand.h"#include "MagickWand/magick-wand-private.h"#include "MagickWand/mogrify.h"#include "MagickWand/operation.h"#include "MagickWand/wand.h"#include "MagickWand/wandcli.h"#include "MagickWand/wandcli-private.h"#include "MagickCore/composite-private.h"#include "MagickCore/image-private.h"#include "MagickCore/monitor-private.h"#include "MagickCore/pixel-private.h"#include "MagickCore/string-private.h"#include "MagickCore/thread-private.h"#include "MagickCore/timer-private.h"Macros | |
| #define | USE_WAND_METHODS 1 |
| #define | MAX_STACK_DEPTH 32 |
| #define | UNDEFINED_COMPRESSION_QUALITY 0UL |
| #define | DEFAULT_DISSIMILARITY_THRESHOLD "0.31830988618379067154" |
| #define | ReportGeometry(flags, info) |
| #define | _image_info (cli_wand->wand.image_info) |
| #define | _image (cli_wand->wand.images) |
| #define | _exception (cli_wand->wand.exception) |
| #define | _draw_info (cli_wand->draw_info) |
| #define | _quantize_info (cli_wand->quantize_info) |
| #define | IfSetOption (*option=='-') |
| #define | ArgBoolean IfSetOption ? MagickTrue : MagickFalse |
| #define | ArgBooleanNot IfSetOption ? MagickFalse : MagickTrue |
| #define | ArgBooleanString (IfSetOption?"true":"false") |
| #define | ArgOption(def) (IfSetOption?arg1:(const char *)(def)) |
| #define | _process_flags (cli_wand->process_flags) |
| #define | _option_type ((CommandOptionFlags) cli_wand->command->flags) |
| #define | _image_info (cli_wand->wand.image_info) |
| #define | _image (cli_wand->wand.images) |
| #define | _exception (cli_wand->wand.exception) |
| #define | _draw_info (cli_wand->draw_info) |
| #define | _quantize_info (cli_wand->quantize_info) |
| #define | _process_flags (cli_wand->process_flags) |
| #define | _option_type ((CommandOptionFlags) cli_wand->command->flags) |
| #define | IfNormalOp (*option=='-') |
| #define | IfPlusOp (*option!='-') |
| #define | IsNormalOp IfNormalOp ? MagickTrue : MagickFalse |
| #define | IsPlusOp IfNormalOp ? MagickFalse : MagickTrue |
| #define | _image_info (cli_wand->wand.image_info) |
| #define | _images (cli_wand->wand.images) |
| #define | _exception (cli_wand->wand.exception) |
| #define | _draw_info (cli_wand->draw_info) |
| #define | _quantize_info (cli_wand->quantize_info) |
| #define | _process_flags (cli_wand->process_flags) |
| #define | _option_type ((CommandOptionFlags) cli_wand->command->flags) |
| #define | IfNormalOp (*option=='-') |
| #define | IfPlusOp (*option!='-') |
| #define | IsNormalOp IfNormalOp ? MagickTrue : MagickFalse |
| #define | _image_info (cli_wand->wand.image_info) |
| #define | _images (cli_wand->wand.images) |
| #define | _exception (cli_wand->wand.exception) |
| #define | _process_flags (cli_wand->process_flags) |
| #define | _option_type ((CommandOptionFlags) cli_wand->command->flags) |
| #define | IfNormalOp (*option=='-') |
| #define | IfPlusOp (*option!='-') |
Functions | |
| static MagickBooleanType | MonitorProgress (const char *text, const MagickOffsetType offset, const MagickSizeType extent, void *wand_unused(client_data)) |
| static Image * | GetImageCache (const ImageInfo *image_info, const char *path, ExceptionInfo *exception) |
| static Image * | SparseColorOption (const Image *image, const SparseColorMethod method, const char *arguments, ExceptionInfo *exception) |
| WandPrivate void | CLISettingOptionInfo (MagickCLI *cli_wand, const char *option, const char *arg1n, const char *arg2n) |
| static MagickBooleanType | CLISimpleOperatorImage (MagickCLI *cli_wand, const char *option, const char *arg1n, const char *arg2n, ExceptionInfo *exception) |
| WandPrivate MagickBooleanType | CLISimpleOperatorImages (MagickCLI *cli_wand, const char *option, const char *arg1, const char *arg2, ExceptionInfo *exception) |
| WandPrivate MagickBooleanType | CLIListOperatorImages (MagickCLI *cli_wand, const char *option, const char *arg1n, const char *arg2n) |
| WandPrivate void | CLINoImageOperator (MagickCLI *cli_wand, const char *option, const char *arg1n, const char *arg2n) |
| WandExport void | CLIOption (MagickCLI *cli_wand, const char *option,...) |
Variables | |
| static const char | MogrifyAlphaColor [] = "#bdbdbd" |
| static const char | MogrifyBackgroundColor [] = "#fff" |
| static const char | MogrifyBorderColor [] = "#dfdfdf" |
| #define _draw_info (cli_wand->draw_info) |
Referenced by CLISettingOptionInfo(), and CLISimpleOperatorImage().
| #define _draw_info (cli_wand->draw_info) |
| #define _draw_info (cli_wand->draw_info) |
| #define _exception (cli_wand->wand.exception) |
Referenced by CLIListOperatorImages(), CLINoImageOperator(), CLISettingOptionInfo(), and CLISimpleOperatorImage().
| #define _exception (cli_wand->wand.exception) |
| #define _exception (cli_wand->wand.exception) |
| #define _exception (cli_wand->wand.exception) |
| #define _image (cli_wand->wand.images) |
Referenced by CLISettingOptionInfo(), and CLISimpleOperatorImage().
| #define _image (cli_wand->wand.images) |
| #define _image_info (cli_wand->wand.image_info) |
Referenced by CLIListOperatorImages(), CLINoImageOperator(), CLISettingOptionInfo(), and CLISimpleOperatorImage().
| #define _image_info (cli_wand->wand.image_info) |
| #define _image_info (cli_wand->wand.image_info) |
| #define _image_info (cli_wand->wand.image_info) |
| #define _images (cli_wand->wand.images) |
Referenced by CLIListOperatorImages(), and CLINoImageOperator().
| #define _images (cli_wand->wand.images) |
| #define _option_type ((CommandOptionFlags) cli_wand->command->flags) |
Referenced by CLIListOperatorImages(), CLINoImageOperator(), CLISettingOptionInfo(), and CLISimpleOperatorImage().
| #define _option_type ((CommandOptionFlags) cli_wand->command->flags) |
| #define _option_type ((CommandOptionFlags) cli_wand->command->flags) |
| #define _option_type ((CommandOptionFlags) cli_wand->command->flags) |
| #define _process_flags (cli_wand->process_flags) |
Referenced by CLIListOperatorImages(), CLINoImageOperator(), CLISettingOptionInfo(), and CLISimpleOperatorImage().
| #define _process_flags (cli_wand->process_flags) |
| #define _process_flags (cli_wand->process_flags) |
| #define _process_flags (cli_wand->process_flags) |
| #define _quantize_info (cli_wand->quantize_info) |
Referenced by CLIListOperatorImages(), CLISettingOptionInfo(), and CLISimpleOperatorImage().
| #define _quantize_info (cli_wand->quantize_info) |
| #define _quantize_info (cli_wand->quantize_info) |
| #define ArgBoolean IfSetOption ? MagickTrue : MagickFalse |
Referenced by CLISettingOptionInfo().
| #define ArgBooleanNot IfSetOption ? MagickFalse : MagickTrue |
Referenced by CLISettingOptionInfo().
| #define ArgBooleanString (IfSetOption?"true":"false") |
Referenced by CLISettingOptionInfo().
| #define ArgOption | ( | def | ) | (IfSetOption?arg1:(const char *)(def)) |
Referenced by CLISettingOptionInfo().
| #define DEFAULT_DISSIMILARITY_THRESHOLD "0.31830988618379067154" |
Referenced by CLISettingOptionInfo().
| #define IfNormalOp (*option=='-') |
Referenced by CLIListOperatorImages(), CLINoImageOperator(), and CLISimpleOperatorImage().
| #define IfNormalOp (*option=='-') |
| #define IfNormalOp (*option=='-') |
| #define IfPlusOp (*option!='-') |
Referenced by CLIListOperatorImages(), CLINoImageOperator(), and CLISimpleOperatorImage().
| #define IfPlusOp (*option!='-') |
| #define IfPlusOp (*option!='-') |
| #define IfSetOption (*option=='-') |
Referenced by CLISettingOptionInfo().
| #define IsNormalOp IfNormalOp ? MagickTrue : MagickFalse |
Referenced by CLIListOperatorImages(), and CLISimpleOperatorImage().
| #define IsNormalOp IfNormalOp ? MagickTrue : MagickFalse |
| #define IsPlusOp IfNormalOp ? MagickFalse : MagickTrue |
Referenced by CLISimpleOperatorImage().
| #define MAX_STACK_DEPTH 32 |
Referenced by CLINoImageOperator().
| #define ReportGeometry | ( | flags, | |
| info | |||
| ) |
| #define UNDEFINED_COMPRESSION_QUALITY 0UL |
Referenced by CLISettingOptionInfo().
| #define USE_WAND_METHODS 1 |
| WandPrivate MagickBooleanType CLIListOperatorImages | ( | MagickCLI * | cli_wand, |
| const char * | option, | ||
| const char * | arg1n, | ||
| const char * | arg2n | ||
| ) |
References _exception, _image_info, _images, _option_type, _process_flags, _quantize_info, CLIListOperatorImages(), CLILogEvent(), CLIWandExceptArgBreak, CLIWandException, CLIWandExceptionBreak, CLIWandWarnReplaced, _MagickWand::debug, IfNormalOp, IfPlusOp, IsNormalOp, MagickPathExtent, MagickWandSignature, ProcessInterpretProperities, _MagickWand::signature, _MagickCLI::signature, and _MagickCLI::wand.
Referenced by CLIListOperatorImages(), and CLIOption().
| WandPrivate void CLINoImageOperator | ( | MagickCLI * | cli_wand, |
| const char * | option, | ||
| const char * | arg1n, | ||
| const char * | arg2n | ||
| ) |
References _exception, _image_info, _images, _option_type, _process_flags, CLILogEvent(), CLIWandExceptArgBreak, CLIWandException, CLIWandExceptionArg, CLIWandExceptionBreak, _Stack::data, _MagickWand::debug, DisableMSCWarning, _MagickCLI::draw_info, IfNormalOp, IfPlusOp, _MagickWand::image_info, _MagickCLI::image_info_stack, _MagickCLI::image_list_stack, _MagickWand::images, MagickNextImage(), MagickPathExtent, MagickResetIterator(), MagickWandSignature, MAX_STACK_DEPTH, _Stack::next, ProcessInterpretProperities, _MagickCLI::quantize_info, RestoreMSCWarning, _MagickWand::signature, _MagickCLI::signature, and _MagickCLI::wand.
Referenced by CLIOption().
| WandExport void CLIOption | ( | MagickCLI * | cli_wand, |
| const char * | option, | ||
| ... | |||
| ) |
References CLIListOperatorImages(), CLINoImageOperator(), CLISettingOptionInfo(), CLISimpleOperatorImages(), CLIWandExceptionBreak, CLIWandExceptionReturn, _MagickCLI::command, DisableMSCWarning, _MagickWand::exception, _MagickWand::image_info, _MagickWand::images, MagickWandSignature, RestoreMSCWarning, _MagickWand::signature, _MagickCLI::signature, and _MagickCLI::wand.
Referenced by MagickImageCommand(), ProcessCommandOptions(), and ProcessScriptOptions().
| WandPrivate void CLISettingOptionInfo | ( | MagickCLI * | cli_wand, |
| const char * | option, | ||
| const char * | arg1n, | ||
| const char * | arg2n | ||
| ) |
References _draw_info, _exception, _image, _image_info, _option_type, _process_flags, _quantize_info, ArgBoolean, ArgBooleanNot, ArgBooleanString, ArgOption, CLILogEvent(), CLISettingOptionInfo(), CLIWandExceptArgBreak, CLIWandException, CLIWandExceptionBreak, CLIWandWarnReplaced, _MagickWand::debug, DEFAULT_DISSIMILARITY_THRESHOLD, GetImageCache(), IfSetOption, MagickPathExtent, MagickWandSignature, MogrifyAlphaColor, MogrifyBackgroundColor, MogrifyBorderColor, MonitorProgress(), ProcessInterpretProperities, _MagickWand::signature, _MagickCLI::signature, UNDEFINED_COMPRESSION_QUALITY, and _MagickCLI::wand.
|
static |
References _draw_info, _exception, _image, _image_info, _option_type, _process_flags, _quantize_info, CLIWandExceptArgBreak, CLIWandException, CLIWandExceptionBreak, CLIWandWarnReplaced, _MagickWand::debug, GetImageCache(), IfNormalOp, IfPlusOp, IsNormalOp, IsPlusOp, MagickPathExtent, MagickWandSignature, MonitorProgress(), _MagickWand::name, ProcessInterpretProperities, _MagickWand::signature, _MagickCLI::signature, SparseColorOption(), and _MagickCLI::wand.
Referenced by CLISimpleOperatorImages().
| WandPrivate MagickBooleanType CLISimpleOperatorImages | ( | MagickCLI * | cli_wand, |
| const char * | option, | ||
| const char * | arg1, | ||
| const char * | arg2, | ||
| ExceptionInfo * | exception | ||
| ) |
|
inlinestatic |
References MagickPathExtent.
Referenced by CLISettingOptionInfo(), and CLISimpleOperatorImage().
|
static |
References MagickPathExtent.
Referenced by CLISettingOptionInfo(), and CLISimpleOperatorImage().
|
static |
References MagickPathExtent.
Referenced by CLISimpleOperatorImage().
|
static |
Referenced by CLISettingOptionInfo().
|
static |
Referenced by CLISettingOptionInfo().
|
static |
Referenced by CLISettingOptionInfo().