MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/accelerate-private.h"
#include "MagickCore/annotate.h"
#include "MagickCore/artifact.h"
#include "MagickCore/attribute.h"
#include "MagickCore/cache.h"
#include "MagickCore/cache-view.h"
#include "MagickCore/channel.h"
#include "MagickCore/color.h"
#include "MagickCore/color-private.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/composite.h"
#include "MagickCore/decorate.h"
#include "MagickCore/distort.h"
#include "MagickCore/draw.h"
#include "MagickCore/effect.h"
#include "MagickCore/enhance.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/gem.h"
#include "MagickCore/gem-private.h"
#include "MagickCore/geometry.h"
#include "MagickCore/layer.h"
#include "MagickCore/list.h"
#include "MagickCore/log.h"
#include "MagickCore/image.h"
#include "MagickCore/image-private.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/random_.h"
#include "MagickCore/random-private.h"
#include "MagickCore/resample.h"
#include "MagickCore/resample-private.h"
#include "MagickCore/resize.h"
#include "MagickCore/resource_.h"
#include "MagickCore/splay-tree.h"
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/threshold.h"
#include "MagickCore/transform.h"
#include "MagickCore/transform-private.h"
#include "MagickCore/utility.h"
#include "MagickCore/visual-effects.h"
Go to the source code of this file.
Macros | |
#define | AddNoiseImageTag "AddNoise/Image" |
#define | BlueShiftImageTag "BlueShift/Image" |
#define | ColorizeImageTag "Colorize/Image" |
#define | Colorize(pixel, blend_percentage, colorize) (((pixel)*(100.0-(blend_percentage))+(colorize)*(blend_percentage))/100.0) |
#define | ColorMatrixImageTag "ColorMatrix/Image" |
#define | ImplodeImageTag "Implode/Image" |
#define | MorphImageTag "Morph/Image" |
#define | SepiaToneImageTag "SepiaTone/Image" |
#define | ShadowImageTag "Shadow/Image" |
#define | SolarizeImageTag "Solarize/Image" |
#define | GetBit(alpha, i) ((((size_t) (alpha) >> (size_t) (i)) & 0x01) != 0) |
#define | SetBit(alpha, i, set) |
#define | SteganoImageTag "Stegano/Image" |
#define | StereoImageTag "Stereo/Image" |
#define | SwirlImageTag "Swirl/Image" |
#define | TintImageTag "Tint/Image" |
#define | WaveImageTag "Wave/Image" |
Functions | |
MagickExport Image * | AddNoiseImage (const Image *image, const NoiseType noise_type, const double attenuate, ExceptionInfo *exception) |
MagickExport Image * | BlueShiftImage (const Image *image, const double factor, ExceptionInfo *exception) |
MagickExport Image * | CharcoalImage (const Image *image, const double radius, const double sigma, ExceptionInfo *exception) |
MagickExport Image * | ColorizeImage (const Image *image, const char *blend, const PixelInfo *colorize, ExceptionInfo *exception) |
MagickExport Image * | ColorMatrixImage (const Image *image, const KernelInfo *color_matrix, ExceptionInfo *exception) |
MagickExport Image * | ImplodeImage (const Image *image, const double amount, const PixelInterpolateMethod method, ExceptionInfo *exception) |
MagickExport Image * | MorphImages (const Image *image, const size_t number_frames, ExceptionInfo *exception) |
static Quantum | PlasmaPixel (RandomInfo *magick_restrict random_info, const double pixel, const double noise) |
static MagickBooleanType | PlasmaImageProxy (Image *image, CacheView *image_view, CacheView *u_view, CacheView *v_view, RandomInfo *magick_restrict random_info, const SegmentInfo *magick_restrict segment, size_t attenuate, size_t depth, ExceptionInfo *exception) |
MagickExport MagickBooleanType | PlasmaImage (Image *image, const SegmentInfo *segment, size_t attenuate, size_t depth, ExceptionInfo *exception) |
MagickExport Image * | PolaroidImage (const Image *image, const DrawInfo *draw_info, const char *caption, const double angle, const PixelInterpolateMethod method, ExceptionInfo *exception) |
MagickExport Image * | SepiaToneImage (const Image *image, const double threshold, ExceptionInfo *exception) |
MagickExport Image * | ShadowImage (const Image *image, const double alpha, const double sigma, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception) |
MagickExport Image * | SketchImage (const Image *image, const double radius, const double sigma, const double angle, ExceptionInfo *exception) |
MagickExport MagickBooleanType | SolarizeImage (Image *image, const double threshold, ExceptionInfo *exception) |
MagickExport Image * | SteganoImage (const Image *image, const Image *watermark, ExceptionInfo *exception) |
MagickExport Image * | StereoImage (const Image *left_image, const Image *right_image, ExceptionInfo *exception) |
MagickExport Image * | StereoAnaglyphImage (const Image *left_image, const Image *right_image, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception) |
MagickExport Image * | SwirlImage (const Image *image, double degrees, const PixelInterpolateMethod method, ExceptionInfo *exception) |
MagickExport Image * | TintImage (const Image *image, const char *blend, const PixelInfo *tint, ExceptionInfo *exception) |
MagickExport Image * | VignetteImage (const Image *image, const double radius, const double sigma, const ssize_t x, const ssize_t y, ExceptionInfo *exception) |
MagickExport Image * | WaveImage (const Image *image, const double amplitude, const double wave_length, const PixelInterpolateMethod method, ExceptionInfo *exception) |
static void | HatTransform (const float *magick_restrict pixels, const size_t stride, const size_t extent, const size_t scale, float *kernel) |
MagickExport Image * | WaveletDenoiseImage (const Image *image, const double threshold, const double softness, ExceptionInfo *exception) |
#define AddNoiseImageTag "AddNoise/Image" |
#define BlueShiftImageTag "BlueShift/Image" |
#define Colorize | ( | pixel, | |
blend_percentage, | |||
colorize | |||
) | (((pixel)*(100.0-(blend_percentage))+(colorize)*(blend_percentage))/100.0) |
#define ColorizeImageTag "Colorize/Image" |
#define ColorMatrixImageTag "ColorMatrix/Image" |
#define GetBit | ( | alpha, | |
i | |||
) | ((((size_t) (alpha) >> (size_t) (i)) & 0x01) != 0) |
#define ImplodeImageTag "Implode/Image" |
#define MorphImageTag "Morph/Image" |
#define SepiaToneImageTag "SepiaTone/Image" |
#define SetBit | ( | alpha, | |
i, | |||
set | |||
) |
#define ShadowImageTag "Shadow/Image" |
#define SolarizeImageTag "Solarize/Image" |
#define SteganoImageTag "Stegano/Image" |
#define StereoImageTag "Stereo/Image" |
#define SwirlImageTag "Swirl/Image" |
#define TintImageTag "Tint/Image" |
#define WaveImageTag "Wave/Image" |
MagickExport Image * AddNoiseImage | ( | const Image * | image, |
const NoiseType | noise_type, | ||
const double | attenuate, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 137 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireRandomInfoTLS(), AcquireVirtualCacheView(), AddNoiseImageTag, ClampToQuantum(), CloneImage(), _Image::columns, CopyPixelTrait, DestroyCacheView(), DestroyImage(), DestroyRandomInfoTLS(), DirectClass, _Image::filename, GenerateDifferentialNoise(), GetCacheViewVirtualPixels(), GetMagickModule, GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetRandomSecretKey(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::progress_monitor, QueueCacheViewAuthenticPixels(), random_info, _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelChannel(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, and UndefinedPixelTrait.
MagickExport Image * BlueShiftImage | ( | const Image * | image, |
const double | factor, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 306 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), _PixelInfo::blue, BlueShiftImageTag, ClampToQuantum(), CloneImage(), _Image::columns, DestroyCacheView(), DestroyImage(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelRed(), _PixelInfo::green, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::progress_monitor, QueueCacheViewAuthenticPixels(), _PixelInfo::red, _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelBlue(), SetPixelGreen(), SetPixelRed(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), and TraceEvent.
MagickExport Image * CharcoalImage | ( | const Image * | image, |
const double | radius, | ||
const double | sigma, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 464 of file visual-effects.c.
References _Image::alpha_trait, BlurImage(), ClampImage(), DestroyImage(), EdgeImage(), _Image::filename, GetMagickModule, GrayscaleImage(), _Image::intensity, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, NegateImage(), NormalizeImage(), _ExceptionInfo::signature, _Image::signature, TraceEvent, and UndefinedPixelTrait.
Referenced by PreviewImage().
MagickExport Image * ColorizeImage | ( | const Image * | image, |
const char * | blend, | ||
const PixelInfo * | colorize, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 534 of file visual-effects.c.
References AcquireAuthenticCacheView(), _PixelInfo::alpha, _Image::alpha_trait, _PixelInfo::alpha_trait, _PixelInfo::black, _PixelInfo::blue, _GeometryInfo::chi, ChiValue, ClampToQuantum(), CloneImage(), CMYKColorspace, Colorize, ColorizeImageTag, _Image::colorspace, _PixelInfo::colorspace, _Image::columns, CopyPixelTrait, DestroyCacheView(), DestroyImage(), DirectClass, _Image::filename, GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelChannels(), GetPixelChannelTraits(), GetPixelInfo(), GetPixelInfoChannel(), _PixelInfo::green, IsEventLogging(), IsGrayColorspace(), IsPixelInfoGray(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, OpaqueAlpha, ParseGeometry(), _Image::progress_monitor, _GeometryInfo::psi, PsiValue, _PixelInfo::red, _GeometryInfo::rho, _Image::rows, SetImageAlpha(), SetImageColorspace(), SetImageProgress(), SetImageStorageClass(), SetPixelChannel(), _GeometryInfo::sigma, SigmaValue, _ExceptionInfo::signature, _Image::signature, sRGBColorspace, SyncCacheViewAuthenticPixels(), TraceEvent, TransparentAlpha, UndefinedPixelTrait, _GeometryInfo::xi, and XiValue.
MagickExport Image * ColorMatrixImage | ( | const Image * | image, |
const KernelInfo * | color_matrix, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 721 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireString(), AcquireVirtualCacheView(), _PixelInfo::alpha, _Image::alpha_trait, _PixelInfo::black, _PixelInfo::blue, CloneImage(), CMYKColorspace, ColorMatrixImageTag, _Image::colorspace, _Image::columns, ConcatenateString(), _Image::debug, DestroyCacheView(), DestroyImage(), DestroyString(), DirectClass, _Image::filename, FormatLocaleString(), GetCacheViewAuthenticPixels(), GetCacheViewVirtualPixels(), GetMagickModule, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelInfo(), GetPixelInfoPixel(), GetPixelRed(), _PixelInfo::green, _KernelInfo::height, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickPathExtent, MagickTrue, _Image::progress_monitor, QuantumRange, _PixelInfo::red, _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelViaPixelInfo(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, TransformEvent, UndefinedPixelTrait, _KernelInfo::values, and _KernelInfo::width.
|
inlinestatic |
Definition at line 3467 of file visual-effects.c.
References magick_restrict.
Referenced by WaveletDenoiseImage().
MagickExport Image * ImplodeImage | ( | const Image * | image, |
const double | amount, | ||
const PixelInterpolateMethod | method, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 942 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), _PixelInfo::alpha, _Image::alpha_trait, _Image::background_color, CloneImage(), _Image::columns, DestroyCacheView(), DestroyImage(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), ImplodeImageTag, InterpolatePixelChannels(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickPI, MagickTrue, OpaqueAlpha, OpaqueAlphaChannel, PerceptibleReciprocal(), _Image::progress_monitor, QueueCacheViewAuthenticPixels(), _Image::rows, SetImageAlphaChannel(), SetImageProgress(), SetImageStorageClass(), SetPixelChannel(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, UndefinedPixelTrait, _PointInfo::x, and _PointInfo::y.
Referenced by PreviewImage().
MagickExport Image * MorphImages | ( | const Image * | image, |
const size_t | number_frames, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1156 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), AppendImageToList(), ClampToQuantum(), CloneImage(), _Image::columns, CopyPixelTrait, DestroyCacheView(), DestroyImage(), DestroyImageList(), DirectClass, _Image::filename, _Image::filter, GetCacheViewAuthenticPixels(), GetCacheViewVirtualPixels(), GetFirstImageInList(), GetImageListLength(), GetLastImageInList(), GetMagickModule, GetNextImageInList(), GetPixelChannel(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, MorphImageTag, _Image::progress_monitor, ResizeImage(), _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelChannel(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, and UndefinedPixelTrait.
MagickExport MagickBooleanType PlasmaImage | ( | Image * | image, |
const SegmentInfo * | segment, | ||
size_t | attenuate, | ||
size_t | depth, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1612 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireRandomInfo(), AcquireVirtualCacheView(), DestroyCacheView(), DestroyRandomInfo(), DirectClass, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, PlasmaImageProxy(), random_info, SetImageStorageClass(), _Image::signature, and TraceEvent.
|
static |
Definition at line 1402 of file visual-effects.c.
References CastDoubleToLong(), GetCacheViewVirtualPixels(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), magick_restrict, MagickEpsilon, MagickFalse, MagickTrue, PlasmaImageProxy(), PlasmaPixel(), QuantumRange, QueueCacheViewAuthenticPixels(), random_info, SyncCacheViewAuthenticPixels(), UndefinedPixelTrait, _SegmentInfo::x1, _SegmentInfo::x2, _SegmentInfo::y1, and _SegmentInfo::y2.
Referenced by PlasmaImage(), and PlasmaImageProxy().
|
inlinestatic |
Definition at line 1392 of file visual-effects.c.
References ClampToQuantum(), GetPseudoRandomValue(), and random_info.
Referenced by PlasmaImageProxy().
MagickExport Image * PolaroidImage | ( | const Image * | image, |
const DrawInfo * | draw_info, | ||
const char * | caption, | ||
const double | angle, | ||
const PixelInterpolateMethod | method, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1680 of file visual-effects.c.
References AcquireString(), AllCompliance, AnnotateImage(), _TypeMetric::ascent, _Image::background_color, _Image::border_color, CloneDrawInfo(), CloneImage(), CloneString(), _Image::columns, CompositeImage(), _TypeMetric::descent, DestroyDrawInfo(), DestroyImage(), DestroyString(), _Image::filename, FlopImage(), FormatLocaleString(), FormatMagickCaption(), _DrawInfo::geometry, GetMagickModule, _DrawInfo::gravity, InterpretImageProperties(), IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickMax, MagickPathExtent, MagickTrue, OpaqueAlphaChannel, OverCompositeOp, QueryColorCompliance(), RotateImage(), _Image::rows, SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageExtent(), ShadowImage(), _ExceptionInfo::signature, _Image::signature, _DrawInfo::text, TraceEvent, TrimImage(), UndefinedGravity, and WaveImage().
MagickExport Image * SepiaToneImage | ( | const Image * | image, |
const double | threshold, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1868 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), ClampToQuantum(), CloneImage(), _Image::columns, ContrastImage(), DestroyCacheView(), DestroyImage(), DirectClass, _Image::filename, GetCacheViewAuthenticPixels(), GetCacheViewVirtualPixels(), GetMagickModule, GetPixelAlpha(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIntensity(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, NormalizeImage(), _Image::progress_monitor, QuantumRange, _Image::rows, SepiaToneImageTag, SetImageProgress(), SetImageStorageClass(), SetPixelAlpha(), SetPixelBlue(), SetPixelGreen(), SetPixelRed(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), and TraceEvent.
MagickExport Image * ShadowImage | ( | const Image * | image, |
const double | alpha, | ||
const double | sigma, | ||
const ssize_t | x_offset, | ||
const ssize_t | y_offset, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2021 of file visual-effects.c.
References AcquireAuthenticCacheView(), AllCompliance, _PixelInfo::alpha, _Image::alpha_trait, _PixelInfo::alpha_trait, AlphaChannel, _Image::background_color, BlendPixelTrait, BlurImage(), _Image::border_color, BorderImage(), CloneImage(), _Image::colorspace, _Image::columns, DestroyCacheView(), DestroyImage(), EdgeVirtualPixelMethod, _Image::filename, GetMagickModule, GetPixelAlpha(), GetPixelChannels(), _RectangleInfo::height, IsEventLogging(), IsGrayColorspace(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, OpaqueAlphaChannel, OverCompositeOp, _Image::page, QueryColorCompliance(), QueueCacheViewAuthenticPixels(), _Image::rows, SetImageAlphaChannel(), SetImageChannelMask(), SetImageColorspace(), SetImageVirtualPixelMethod(), SetPixelChannelMask(), SetPixelViaPixelInfo(), _ExceptionInfo::signature, _Image::signature, sRGBColorspace, SyncCacheViewAuthenticPixels(), TraceEvent, UndefinedPixelTrait, _RectangleInfo::width, _RectangleInfo::x, and _RectangleInfo::y.
Referenced by MontageImageList(), and PolaroidImage().
MagickExport Image * SketchImage | ( | const Image * | image, |
const double | radius, | ||
const double | sigma, | ||
const double | angle, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2169 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireRandomInfoTLS(), _Image::alpha_trait, BlendCompositeOp, BlendPixelTrait, ClampImage(), ClampToQuantum(), CloneImage(), ColorDodgeCompositeOp, _Image::columns, CompositeImage(), DestroyCacheView(), DestroyImage(), DestroyRandomInfoTLS(), EdgeImage(), GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPseudoRandomValue(), GetRandomSecretKey(), magick_restrict, MagickFalse, MagickTrue, MotionBlurImage(), NegateImage(), NormalizeImage(), QuantumRange, QueueCacheViewAuthenticPixels(), random_info, _Image::rows, SetImageAlpha(), SetImageArtifact(), SyncCacheViewAuthenticPixels(), TransformImage(), TransparentAlpha, and UndefinedPixelTrait.
MagickExport MagickBooleanType SolarizeImage | ( | Image * | image, |
const double | threshold, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2329 of file visual-effects.c.
References AcquireAuthenticCacheView(), _PixelInfo::blue, _Image::colormap, _Image::colors, _Image::colorspace, _Image::columns, DestroyCacheView(), _Image::filename, GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), _PixelInfo::green, IsEventLogging(), IsGrayColorspace(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::progress_monitor, PseudoClass, QuantumRange, _PixelInfo::red, _Image::rows, SetImageColorspace(), SetImageProgress(), _Image::signature, SolarizeImageTag, sRGBColorspace, _Image::storage_class, SyncCacheViewAuthenticPixels(), SyncImage(), TraceEvent, and UpdatePixelTrait.
Referenced by PreviewImage().
MagickExport Image * SteganoImage | ( | const Image * | image, |
const Image * | watermark, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2462 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), CloneImage(), _Image::columns, _Image::depth, DestroyCacheView(), DestroyImage(), DirectClass, _Image::filename, GetBit, GetCacheViewAuthenticPixels(), GetMagickModule, GetOneCacheViewVirtualPixelInfo(), GetPixelBlue(), GetPixelGreen(), GetPixelInfoIntensity(), GetPixelRed(), IsEventLogging(), LogMagickEvent(), MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickFalse, MagickTrue, _Image::offset, _Image::progress_monitor, _Image::rows, SetBit, SetImageProgress(), SetImageStorageClass(), SetPixelBlue(), SetPixelGreen(), SetPixelRed(), _ExceptionInfo::signature, _Image::signature, SteganoImageTag, SyncCacheViewAuthenticPixels(), and TraceEvent.
MagickExport Image * StereoAnaglyphImage | ( | const Image * | left_image, |
const Image * | right_image, | ||
const ssize_t | x_offset, | ||
const ssize_t | y_offset, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2649 of file visual-effects.c.
References CloneImage(), _Image::columns, CopyPixelTrait, DestroyImage(), DirectClass, _Image::filename, GetMagickModule, GetPixelAlpha(), GetPixelAlphaTraits(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelRed(), GetVirtualPixels(), ImageError, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::progress_monitor, QueueAuthenticPixels(), _Image::rows, SetImageColorspace(), SetImageProgress(), SetImageStorageClass(), SetPixelAlpha(), SetPixelBlue(), SetPixelGreen(), SetPixelRed(), _ExceptionInfo::signature, _Image::signature, sRGBColorspace, StereoImageTag, SyncAuthenticPixels(), ThrowImageException, and TraceEvent.
Referenced by StereoImage().
MagickExport Image * StereoImage | ( | const Image * | left_image, |
const Image * | right_image, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2643 of file visual-effects.c.
References StereoAnaglyphImage().
MagickExport Image * SwirlImage | ( | const Image * | image, |
double | degrees, | ||
const PixelInterpolateMethod | method, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2777 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), _PixelInfo::alpha_trait, _Image::background_color, CloneImage(), _Image::columns, DegreesToRadians(), DestroyCacheView(), DestroyImage(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), InterpolatePixelChannels(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickMax, MagickTrue, OnAlphaChannel, _Image::progress_monitor, QueueCacheViewAuthenticPixels(), _Image::rows, SetImageAlphaChannel(), SetImageProgress(), SetImageStorageClass(), SetPixelChannel(), _ExceptionInfo::signature, _Image::signature, SwirlImageTag, SyncCacheViewAuthenticPixels(), TraceEvent, UndefinedPixelTrait, _PointInfo::x, and _PointInfo::y.
Referenced by PreviewImage().
MagickExport Image * TintImage | ( | const Image * | image, |
const char * | blend, | ||
const PixelInfo * | tint, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2992 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), _PixelInfo::alpha, _PixelInfo::black, _PixelInfo::blue, _GeometryInfo::chi, ChiValue, CloneImage(), CMYKColorspace, _Image::colorspace, _Image::columns, DestroyCacheView(), DestroyImage(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelInfo(), GetPixelInfoIntensity(), GetPixelRed(), _PixelInfo::green, IsEventLogging(), IsGrayColorspace(), IsPixelInfoGray(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, OpaqueAlpha, ParseGeometry(), _Image::progress_monitor, _GeometryInfo::psi, PsiValue, QuantumScale, QueueCacheViewAuthenticPixels(), _PixelInfo::red, _GeometryInfo::rho, _Image::rows, SetImageColorspace(), SetImageProgress(), SetImageStorageClass(), SetPixelViaPixelInfo(), _GeometryInfo::sigma, SigmaValue, _ExceptionInfo::signature, _Image::signature, sRGBColorspace, SyncCacheViewAuthenticPixels(), TintImageTag, TraceEvent, _GeometryInfo::xi, and XiValue.
MagickExport Image * VignetteImage | ( | const Image * | image, |
const double | radius, | ||
const double | sigma, | ||
const ssize_t | x, | ||
const ssize_t | y, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 3189 of file visual-effects.c.
References AcquireString(), AllCompliance, _Image::alpha_trait, _Image::background_color, BlendPixelTrait, BlurImage(), CloneDrawInfo(), CloneImage(), _Image::colorspace, _Image::columns, CompositeImage(), DestroyDrawInfo(), DestroyImage(), DirectClass, DrawImage(), _Image::filename, _DrawInfo::fill, FlattenLayer, FormatLocaleString(), GetMagickModule, IntensityCompositeOp, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickPathExtent, MagickTrue, MergeImageLayers(), _DrawInfo::primitive, QueryColorCompliance(), _Image::rows, SetImageBackgroundColor(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, _DrawInfo::stroke, TraceEvent, TransformImageColorspace(), and UndefinedPixelTrait.
MagickExport Image * WaveImage | ( | const Image * | image, |
const double | amplitude, | ||
const double | wave_length, | ||
const PixelInterpolateMethod | method, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 3291 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireQuantumMemory(), AcquireVirtualCacheView(), _PixelInfo::alpha, _Image::alpha_trait, _Image::background_color, BackgroundVirtualPixelMethod, CloneImage(), _Image::columns, DestroyCacheView(), DestroyImage(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelChannels(), InterpolatePixelChannels(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickPI, MagickTrue, OpaqueAlpha, PerceptibleReciprocal(), _Image::progress_monitor, QueueCacheViewAuthenticPixels(), RelinquishMagickMemory(), ResourceLimitError, _Image::rows, SetCacheViewVirtualPixelMethod(), SetImageAlpha(), SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, UndefinedPixelTrait, and WaveImageTag.
Referenced by PolaroidImage(), and PreviewImage().
MagickExport Image * WaveletDenoiseImage | ( | const Image * | image, |
const double | threshold, | ||
const double | softness, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 3504 of file visual-effects.c.
References AcquireAuthenticCacheView(), AcquireMagickResource(), AcquireQuantumMemory(), AcquireVirtualMemory(), AddNoiseImageTag, BluePixelChannel, ClampToQuantum(), CloneImage(), _Image::columns, DestroyCacheView(), DestroyImage(), DirectClass, _Image::filename, GetCacheViewAuthenticPixels(), GetMagickModule, GetOpenMPMaximumThreads(), GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannelOffset(), GetPixelChannels(), GetPixelChannelTraits(), GetVirtualMemoryBlob(), GreenPixelChannel, HatTransform(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickMax, MagickTrue, _Image::progress_monitor, RedPixelChannel, RelinquishMagickMemory(), RelinquishVirtualMemory(), ResourceLimitError, _Image::rows, SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, UndefinedPixelTrait, and WidthResource.