MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/artifact.h"
#include "MagickCore/cache.h"
#include "MagickCore/color.h"
#include "MagickCore/compare.h"
#include "MagickCore/constitute.h"
#include "MagickCore/distort.h"
#include "MagickCore/draw.h"
#include "MagickCore/effect.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/fourier.h"
#include "MagickCore/gem.h"
#include "MagickCore/geometry.h"
#include "MagickCore/image.h"
#include "MagickCore/image-private.h"
#include "MagickCore/layer.h"
#include "MagickCore/mime-private.h"
#include "MagickCore/memory_.h"
#include "MagickCore/monitor.h"
#include "MagickCore/montage.h"
#include "MagickCore/morphology.h"
#include "MagickCore/option.h"
#include "MagickCore/option-private.h"
#include "MagickCore/pixel.h"
#include "MagickCore/policy.h"
#include "MagickCore/property.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum.h"
#include "MagickCore/registry.h"
#include "MagickCore/resample.h"
#include "MagickCore/resource_.h"
#include "MagickCore/splay-tree.h"
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/threshold.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/visual-effects.h"
Go to the source code of this file.
MagickExport MagickBooleanType CloneImageOptions | ( | ImageInfo * | image_info, |
const ImageInfo * | clone_info | ||
) |
Definition at line 2217 of file option.c.
References CloneSplayTree(), ConstantString(), DestroyImageOptions(), _ImageInfo::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _ImageInfo::options, _ImageInfo::signature, and TraceEvent.
Referenced by CloneImageInfo().
MagickExport const char * CommandOptionToMnemonic | ( | const CommandOption | option, |
const ssize_t | type | ||
) |
Definition at line 2786 of file option.c.
References GetOptionInfo(), and _OptionInfo::mnemonic.
Referenced by AcquireMagickResource(), AcquireResizeFilter(), ClonePixelCacheRepository(), GenerateCoefficients(), GetColorTuple(), GetMagickProperty(), GetMagickPropertyLetter(), IdentifyImage(), IsRightsAuthorized(), ListPolicyInfo(), ListTypeInfo(), LogMagickEventList(), MorphologyApply(), OpenPixelCache(), OptimizeLayerFrames(), PrintChannelPerceptualHash(), RelinquishMagickResource(), SetResampleFilter(), and ShowKernelInfo().
MagickExport MagickBooleanType DefineImageOption | ( | ImageInfo * | image_info, |
const char * | option | ||
) |
Definition at line 2264 of file option.c.
References CopyMagickString(), MagickPathExtent, and SetImageOption().
MagickExport MagickBooleanType DeleteImageOption | ( | ImageInfo * | image_info, |
const char * | option | ||
) |
Definition at line 2314 of file option.c.
References DeleteNodeFromSplayTree(), _ImageInfo::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::options, _ImageInfo::signature, and TraceEvent.
Referenced by InterpretImageProperties(), SetImageOption(), and SyncImagesSettings().
MagickExport void DestroyImageOptions | ( | ImageInfo * | image_info | ) |
Definition at line 2350 of file option.c.
References DestroySplayTree(), _ImageInfo::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::options, _ImageInfo::signature, and TraceEvent.
Referenced by CloneImageOptions(), and DestroyImageInfo().
MagickExport ssize_t GetCommandOptionFlags | ( | const CommandOption | option, |
const MagickBooleanType | list, | ||
const char * | options | ||
) |
Definition at line 2508 of file option.c.
References CopyMagickString(), _OptionInfo::flags, GetOptionInfo(), LocaleCompare(), MagickFalse, MagickPathExtent, MagickTrue, _OptionInfo::mnemonic, sentinel, and UndefinedOptionFlag.
MagickExport const OptionInfo * GetCommandOptionInfo | ( | const char * | option | ) |
Definition at line 2615 of file option.c.
References CommandOptions, LocaleCompare(), and _OptionInfo::mnemonic.
MagickExport char ** GetCommandOptions | ( | const CommandOption | option | ) |
Definition at line 2648 of file option.c.
References AcquireQuantumMemory(), AcquireString(), GetOptionInfo(), _OptionInfo::mnemonic, ResourceLimitFatalError, and ThrowFatalException.
MagickExport const char * GetImageOption | ( | const ImageInfo * | image_info, |
const char * | option | ||
) |
Definition at line 2389 of file option.c.
References _ImageInfo::filename, GetMagickModule, GetValueFromSplayTree(), IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::options, _ImageInfo::signature, and TraceEvent.
Referenced by AcquireImage(), AcquireQuantizeInfo(), GetDrawInfo(), GetMagickProperty(), GetMagickPropertyLetter(), GetQuantumInfo(), InitializeConstituteInfo(), InterpretImageFilename(), InterpretImageProperties(), MagnifyImage(), SetStreamBuffering(), SyncImageSettings(), and WriteImage().
MagickExport char * GetNextImageOption | ( | const ImageInfo * | image_info | ) |
Definition at line 2694 of file option.c.
References _ImageInfo::filename, GetMagickModule, GetNextKeyInSplayTree(), IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::options, _ImageInfo::signature, and TraceEvent.
Referenced by InterpretImageProperties().
|
static |
Definition at line 2433 of file option.c.
References AlignOptions, AlphaChannelOptions, AutoThresholdOptions, BooleanOptions, CacheOptions, ChannelOptions, ClassOptions, CLIOptions, ClipPathOptions, ColorspaceOptions, CommandOptions, ComplexOptions, ComplianceOptions, ComposeOptions, CompressOptions, DataTypeOptions, DecorateOptions, DirectionOptions, DisposeOptions, DistortOptions, DitherOptions, EndianOptions, EvaluateOptions, FillRuleOptions, FilterOptions, FunctionOptions, GradientOptions, GravityOptions, IlluminantOptions, IntentOptions, InterlaceOptions, InterpolateOptions, KernelOptions, LayerOptions, LineCapOptions, LineJoinOptions, ListOptions, LogEventOptions, MagickAlignOptions, MagickAlphaChannelOptions, MagickAutoThresholdOptions, MagickBooleanOptions, MagickCacheOptions, MagickChannelOptions, MagickClassOptions, MagickCLIOptions, MagickClipPathOptions, MagickColorspaceOptions, MagickCommandOptions, MagickComplexOptions, MagickComplianceOptions, MagickComposeOptions, MagickCompressOptions, MagickDataTypeOptions, MagickDebugOptions, MagickDecorateOptions, MagickDirectionOptions, MagickDisposeOptions, MagickDistortOptions, MagickDitherOptions, MagickEndianOptions, MagickEvaluateOptions, MagickFillRuleOptions, MagickFilterOptions, MagickFunctionOptions, MagickGradientOptions, MagickGravityOptions, MagickIlluminantOptions, MagickIntentOptions, MagickInterlaceOptions, MagickInterpolateOptions, MagickKernelOptions, MagickLayerOptions, MagickLineCapOptions, MagickLineJoinOptions, MagickListOptions, MagickLogEventOptions, MagickMethodOptions, MagickMetricOptions, MagickModeOptions, MagickMorphologyOptions, MagickNoiseOptions, MagickOrientationOptions, MagickPixelChannelOptions, MagickPixelIntensityOptions, MagickPixelMaskOptions, MagickPixelTraitOptions, MagickPolicyDomainOptions, MagickPolicyRightsOptions, MagickPreviewOptions, MagickPrimitiveOptions, MagickQuantumFormatOptions, MagickResolutionOptions, MagickResourceOptions, MagickSparseColorOptions, MagickStatisticOptions, MagickStorageOptions, MagickStretchOptions, MagickStyleOptions, MagickToolOptions, MagickTypeOptions, MagickValidateOptions, MagickVirtualPixelOptions, MagickWeightOptions, MethodOptions, MetricOptions, ModeOptions, MorphologyOptions, NoiseOptions, OrientationOptions, PixelChannelOptions, PixelIntensityOptions, PixelMaskOptions, PixelTraitOptions, PolicyDomainOptions, PolicyRightsOptions, PreviewOptions, PrimitiveOptions, QuantumFormatOptions, ResolutionOptions, ResourceOptions, SparseColorOptions, StatisticOptions, StorageOptions, StretchOptions, StyleOptions, ToolOptions, TypeOptions, ValidateOptions, VirtualPixelOptions, and WeightOptions.
Referenced by CommandOptionToMnemonic(), GetCommandOptionFlags(), GetCommandOptions(), ListCommandOptions(), and ParseCommandOption().
MagickExport MagickBooleanType IsCommandOption | ( | const char * | option | ) |
Definition at line 2729 of file option.c.
References AcquireExceptionInfo(), DestroyExceptionInfo(), DestroyString(), GetImageRegistry(), IsPathAccessible(), IsStringTrue(), MagickFalse, MagickTrue, and StringRegistryType.
MagickExport MagickBooleanType IsOptionMember | ( | const char * | option, |
const char * | options | ||
) |
Definition at line 2832 of file option.c.
References ConstantString(), DestroyString(), GlobExpression(), LocaleCompare(), MagickFalse, MagickTrue, RelinquishMagickMemory(), StringToArgv(), and SubstituteString().
Referenced by ProfileImage().
MagickExport MagickBooleanType ListCommandOptions | ( | FILE * | file, |
const CommandOption | option, | ||
ExceptionInfo * | magick_unusedexception | ||
) |
Definition at line 2906 of file option.c.
References FormatLocaleFile(), GetOptionInfo(), magick_unreferenced, MagickFalse, MagickTrue, and _OptionInfo::mnemonic.
MagickExport ssize_t ParseChannelOption | ( | const char * | channels | ) |
Definition at line 2953 of file option.c.
References AlphaChannel, BlackChannel, BlueChannel, CyanChannel, GreenChannel, MagentaChannel, MagickChannelOptions, MagickTrue, ParseCommandOption(), RedChannel, and YellowChannel.
Referenced by ChannelFxImage().
MagickExport ssize_t ParseCommandOption | ( | const CommandOption | option, |
const MagickBooleanType | list, | ||
const char * | options | ||
) |
Definition at line 3077 of file option.c.
References CopyMagickString(), GetOptionInfo(), LocaleCompare(), MagickFalse, MagickPathExtent, MagickTrue, _OptionInfo::mnemonic, sentinel, and _OptionInfo::type.
Referenced by AcquireImage(), AcquireQuantizeInfo(), AcquireResizeFilter(), ColorThresholdImage(), DrawPatternPath(), ExpandFilenames(), GetConstantColour(), GetDrawInfo(), GetImagePerceptualHash(), GetPolicyInfo(), GetQuantumInfo(), GradientImage(), IdentifyImage(), InterpretImageProperties(), LoadLogCache(), LoadMimeCache(), LoadPolicyCache(), LoadTypeCache(), ModulateImage(), MorphologyImage(), ParseChannelOption(), ParseKernelName(), ParsePixelChannelOption(), QueryColorCompliance(), ReadImage(), RenderMVGContent(), SetImageProperty(), SetLogEventMask(), SetMagickSecurityPolicyValue(), sRGBTransformImage(), SyncImageSettings(), SyncResolutionFromProperties(), and TransformsRGBImage().
MagickExport ssize_t ParsePixelChannelOption | ( | const char * | channels | ) |
Definition at line 3183 of file option.c.
References GetNextToken(), InterpretLocaleValue(), MagickPathExtent, MagickPixelChannelOptions, MagickTrue, MaxPixelChannels, ParseCommandOption(), and RedPixelChannel.
Referenced by ChannelFxImage().
MagickExport char * RemoveImageOption | ( | ImageInfo * | image_info, |
const char * | option | ||
) |
Definition at line 3232 of file option.c.
References _ImageInfo::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::options, RemoveNodeFromSplayTree(), _ImageInfo::signature, and TraceEvent.
MagickExport void ResetImageOptionIterator | ( | const ImageInfo * | image_info | ) |
Definition at line 3308 of file option.c.
References _ImageInfo::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::options, ResetSplayTreeIterator(), _ImageInfo::signature, and TraceEvent.
Referenced by InterpretImageProperties().
MagickExport void ResetImageOptions | ( | const ImageInfo * | image_info | ) |
Definition at line 3272 of file option.c.
References _ImageInfo::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::options, ResetSplayTree(), _ImageInfo::signature, and TraceEvent.
MagickExport MagickBooleanType SetImageOption | ( | ImageInfo * | image_info, |
const char * | option, | ||
const char * | value | ||
) |
Definition at line 3347 of file option.c.
References AddValueToSplayTree(), CloneString(), CompareSplayTreeString(), ConstantString(), DeleteImageOption(), _ImageInfo::filename, GetMagickModule, IsEventLogging(), LocaleCompare(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, NewSplayTree(), _ImageInfo::options, RelinquishMagickMemory(), _ImageInfo::signature, _ImageInfo::size, and TraceEvent.
Referenced by DefineImageOption(), GetMagickProperty(), GetMagickPropertyLetter(), HoughLineImage(), PingImages(), ReadImages(), and SetImageType().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 144 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
Definition at line 256 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
Definition at line 498 of file option.c.
Referenced by GetOptionInfo().
|
static |
Definition at line 553 of file option.c.
Referenced by GetCommandOptionInfo(), and GetOptionInfo().
|
static |
|
static |
|
static |
Definition at line 1198 of file option.c.
Referenced by GetOptionInfo().
|
static |
Definition at line 1288 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1397 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
Definition at line 1446 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1571 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
|
static |
|
static |
Definition at line 1650 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
|
static |
Definition at line 1762 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
Definition at line 1797 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
|
static |
Definition at line 1855 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1944 of file option.c.
Referenced by GetOptionInfo().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 2150 of file option.c.
Referenced by GetOptionInfo().
|
static |