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

Go to the source code of this file.


#define DupDispose   ((DisposeType)9)
#define DelDispose   ((DisposeType)8)
#define DEBUG_OPT_FRAME   0
#define MergeLayersTag   "Merge/Layers"


static void ClearBounds (Image *image, RectangleInfo *bounds, ExceptionInfo *exception)
static MagickBooleanType IsBoundsCleared (const Image *image1, const Image *image2, RectangleInfo *bounds, ExceptionInfo *exception)
MagickExport ImageCoalesceImages (const Image *image, ExceptionInfo *exception)
MagickExport ImageDisposeImages (const Image *images, ExceptionInfo *exception)
static MagickBooleanType ComparePixels (const LayerMethod method, const PixelInfo *p, const PixelInfo *q)
static RectangleInfo CompareImagesBounds (const Image *alpha_image, const Image *beta_image, const LayerMethod method, ExceptionInfo *exception)
MagickExport ImageCompareImagesLayers (const Image *image, const LayerMethod method, ExceptionInfo *exception)
static ImageOptimizeLayerFrames (const Image *image, const LayerMethod method, ExceptionInfo *exception)
MagickExport ImageOptimizeImageLayers (const Image *image, ExceptionInfo *exception)
MagickExport ImageOptimizePlusImageLayers (const Image *image, ExceptionInfo *exception)
MagickExport void OptimizeImageTransparency (const Image *image, ExceptionInfo *exception)
MagickExport void RemoveDuplicateLayers (Image **images, ExceptionInfo *exception)
MagickExport void RemoveZeroDelayLayers (Image **images, ExceptionInfo *exception)
static void CompositeCanvas (Image *destination, const CompositeOperator compose, Image *source, ssize_t x_offset, ssize_t y_offset, ExceptionInfo *exception)
MagickExport void CompositeLayers (Image *destination, const CompositeOperator compose, Image *source, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
MagickExport ImageMergeImageLayers (Image *image, const LayerMethod method, ExceptionInfo *exception)

Macro Definition Documentation


#define DEBUG_OPT_FRAME   0

Definition at line 940 of file layer.c.

◆ DelDispose

#define DelDispose   ((DisposeType)8)

Definition at line 938 of file layer.c.

◆ DupDispose

#define DupDispose   ((DisposeType)9)

Definition at line 934 of file layer.c.

◆ MergeLayersTag

#define MergeLayersTag   "Merge/Layers"

Function Documentation

◆ ClearBounds()

◆ CoalesceImages()

◆ CompareImagesBounds()

◆ CompareImagesLayers()

◆ ComparePixels()

◆ CompositeCanvas()

static void CompositeCanvas ( Image destination,
const CompositeOperator  compose,
Image source,
ssize_t  x_offset,
ssize_t  y_offset,
ExceptionInfo exception 

◆ CompositeLayers()

◆ DisposeImages()

◆ IsBoundsCleared()

static MagickBooleanType IsBoundsCleared ( const Image image1,
const Image image2,
RectangleInfo bounds,
ExceptionInfo exception 

◆ MergeImageLayers()

◆ OptimizeImageLayers()

MagickExport Image * OptimizeImageLayers ( const Image image,
ExceptionInfo exception 

Definition at line 1422 of file layer.c.

References OptimizeImageLayer, and OptimizeLayerFrames().

◆ OptimizeImageTransparency()

◆ OptimizeLayerFrames()

◆ OptimizePlusImageLayers()

MagickExport Image * OptimizePlusImageLayers ( const Image image,
ExceptionInfo exception 

Definition at line 1455 of file layer.c.

References OptimizeLayerFrames(), and OptimizePlusLayer.

◆ RemoveDuplicateLayers()

◆ RemoveZeroDelayLayers()