MagickCore  7.0.3
layer.c File Reference
Include dependency graph for layer.c:

Go to the source code of this file.

Macros

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

Functions

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 *image1, const Image *image2, 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

§ DEBUG_OPT_FRAME

#define DEBUG_OPT_FRAME   0

Definition at line 914 of file layer.c.

§ DelDispose

#define DelDispose   ((DisposeType)8)

Definition at line 912 of file layer.c.

Referenced by OptimizeLayerFrames().

§ DupDispose

#define DupDispose   ((DisposeType)9)

Definition at line 908 of file layer.c.

Referenced by OptimizeLayerFrames().

§ MergeLayersTag

#define MergeLayersTag   "Merge/Layers"

Referenced by MergeImageLayers().

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 
)
inlinestatic

Definition at line 1763 of file layer.c.

References CompositeImage(), MagickTrue, _Image::page, _RectangleInfo::x, and _RectangleInfo::y.

Referenced by CompositeLayers().

§ CompositeLayers()

§ DisposeImages()

§ IsBoundsCleared()

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

§ MergeImageLayers()

§ OptimizeImageLayers()

MagickExport Image* OptimizeImageLayers ( const Image image,
ExceptionInfo exception 
)

Definition at line 1394 of file layer.c.

References OptimizeImageLayer, and OptimizeLayerFrames().

§ OptimizeImageTransparency()

§ OptimizeLayerFrames()

§ OptimizePlusImageLayers()

MagickExport Image* OptimizePlusImageLayers ( const Image image,
ExceptionInfo exception 
)

Definition at line 1427 of file layer.c.

References OptimizeLayerFrames(), and OptimizePlusLayer.

§ RemoveDuplicateLayers()

§ RemoveZeroDelayLayers()