MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
composite.c File Reference
Include dependency graph for composite.c:

Go to the source code of this file.

Macros

#define CompositeImageTag   "Composite/Image"
 
#define CompositeImageTag   "Composite/Image"
 
#define TextureImageTag   "Texture/Image"
 

Functions

static void HCLComposite (const MagickRealType hue, const MagickRealType chroma, const MagickRealType luma, MagickRealType *red, MagickRealType *green, MagickRealType *blue)
 
static void CompositeHCL (const MagickRealType red, const MagickRealType green, const MagickRealType blue, MagickRealType *hue, MagickRealType *chroma, MagickRealType *luma)
 
static MagickBooleanType CompositeOverImage (Image *image, const Image *source_image, const MagickBooleanType clip_to_self, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
 
MagickExport MagickBooleanType CompositeImage (Image *image, const Image *composite, const CompositeOperator compose, const MagickBooleanType clip_to_self, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
 
MagickExport MagickBooleanType TextureImage (Image *image, const Image *texture, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ CompositeImageTag [1/2]

#define CompositeImageTag   "Composite/Image"

◆ CompositeImageTag [2/2]

#define CompositeImageTag   "Composite/Image"

◆ TextureImageTag

#define TextureImageTag   "Texture/Image"

Referenced by TextureImage().

Function Documentation

◆ CompositeHCL()

static void CompositeHCL ( const MagickRealType  red,
const MagickRealType  green,
const MagickRealType  blue,
MagickRealType hue,
MagickRealType chroma,
MagickRealType luma 
)
static

Definition at line 247 of file composite.c.

References MagickMax, MagickMin, and QuantumScale.

Referenced by CompositeImage().

◆ CompositeImage()

MagickExport MagickBooleanType CompositeImage ( Image image,
const Image composite,
const CompositeOperator  compose,
const MagickBooleanType  clip_to_self,
const ssize_t  x_offset,
const ssize_t  y_offset,
ExceptionInfo exception 
)

Definition at line 539 of file composite.c.

References AcquireAuthenticCacheView(), AcquireResampleFilter(), AcquireVirtualCacheView(), _PixelInfo::alpha, _Image::alpha_trait, AlphaCompositeOp, AlphaPixelChannel, AspectValue, AtopCompositeOp, BlackPixelChannel, BlendCompositeOp, _PixelInfo::blue, BluePixelChannel, BlurCompositeOp, BumpmapCompositeOp, ChangeMaskCompositeOp, ClampPixel(), ClampToQuantum(), ClearCompositeOp, CloneImage(), ColorBurnCompositeOp, ColorDodgeCompositeOp, ColorizeCompositeOp, _Image::colorspace, _Image::columns, CompositeHCL(), CompositeImageTag, CompositeOverImage(), CopyAlphaCompositeOp, CopyBlackCompositeOp, CopyBlueCompositeOp, CopyCompositeOp, CopyCyanCompositeOp, CopyGreenCompositeOp, CopyMagentaCompositeOp, CopyPixelTrait, CopyRedCompositeOp, CopyYellowCompositeOp, DarkenCompositeOp, DarkenIntensityCompositeOp, _Image::debug, DegreesToRadians(), DestroyCacheView(), DestroyImage(), DestroyResampleFilter(), DifferenceCompositeOp, DirectClass, DisplaceCompositeOp, DissolveCompositeOp, DistortCompositeOp, DivideDstCompositeOp, DivideSrcCompositeOp, DstAtopCompositeOp, DstCompositeOp, DstInCompositeOp, DstOutCompositeOp, DstOverCompositeOp, ExclusionCompositeOp, _Image::filename, GaussianFilter, GetCacheViewAuthenticPixels(), GetCacheViewVirtualPixels(), GetImageArtifact(), GetMagickModule, GetOneVirtualPixel(), GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannel(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelGreen(), GetPixelInfo(), GetPixelInfoPixel(), GetPixelIntensity(), GetPixelReadMask(), GetPixelRed(), GetPixelWriteMask(), _PixelInfo::green, GreenPixelChannel, HardLightCompositeOp, HardMixCompositeOp, HCLComposite(), HeightValue, HueCompositeOp, InCompositeOp, IntensityCompositeOp, InterpolatePixelInfo(), IsFuzzyEquivalencePixel(), IsGrayColorspace(), IsStringTrue(), LightenCompositeOp, LightenIntensityCompositeOp, LinearBurnCompositeOp, LinearDodgeCompositeOp, LinearLightCompositeOp, LogMagickEvent(), LuminizeCompositeOp, magick_restrict, MagickCoreSignature, MagickEpsilon, MagickFalse, MagickMin, MagickTrue, MathematicsCompositeOp, MaxPixelChannels, MinusDstCompositeOp, MinusSrcCompositeOp, ModulateCompositeOp, ModulusAddCompositeOp, ModulusSubtractCompositeOp, MultiplyCompositeOp, NoCompositeOp, NoValue, OpaqueAlpha, OpaqueAlphaChannel, OptionWarning, OutCompositeOp, OverCompositeOp, OverlayCompositeOp, ParseGeometry(), PegtopLightCompositeOp, PercentValue, PerceptibleReciprocal(), PinLightCompositeOp, PlusCompositeOp, _Image::progress_monitor, _GeometryInfo::psi, QuantumRange, QuantumScale, QueueCacheViewAuthenticPixels(), _PixelInfo::red, RedPixelChannel, ReplaceCompositeOp, ResamplePixelColor(), _GeometryInfo::rho, RoundToUnity(), _Image::rows, SaturateCompositeOp, ScaleResampleFilter(), ScreenCompositeOp, SetGeometryInfo(), SetImageAlphaChannel(), SetImageColorspace(), SetImageProgress(), SetImageStorageClass(), SetPixelAlpha(), SetPixelChannel(), SetPixelViaPixelInfo(), SetResampleFilter(), _GeometryInfo::sigma, SigmaValue, _Image::signature, SoftLightCompositeOp, SrcAtopCompositeOp, SrcCompositeOp, SrcInCompositeOp, SrcOutCompositeOp, SrcOverCompositeOp, sRGBColorspace, StereoCompositeOp, SyncCacheViewAuthenticPixels(), ThresholdCompositeOp, ThrowMagickException(), TraceEvent, TransparentAlpha, UndefinedInterpolatePixel, UndefinedPixelTrait, VividLightCompositeOp, WidthValue, _PointInfo::x, _SegmentInfo::x1, _SegmentInfo::x2, _GeometryInfo::xi, XorCompositeOp, XValue, _PointInfo::y, _SegmentInfo::y1, _SegmentInfo::y2, and YValue.

Referenced by CoalesceImages(), CompareImages(), CompareImagesLayers(), CompositeCanvas(), DisposeImages(), DistortResizeImage(), ExtentImage(), FrameImage(), MergeImageLayers(), MontageImageList(), MorphologyApply(), OptimizeImageTransparency(), PolaroidImage(), RenderPostscript(), SetImageAlphaChannel(), SketchImage(), SmushImages(), TextureImage(), and VignetteImage().

◆ CompositeOverImage()

◆ HCLComposite()

static void HCLComposite ( const MagickRealType  hue,
const MagickRealType  chroma,
const MagickRealType  luma,
MagickRealType red,
MagickRealType green,
MagickRealType blue 
)
static

Definition at line 181 of file composite.c.

References QuantumRange.

Referenced by CompositeImage().

◆ TextureImage()