Image.dissolve

Composites the overlay image onto this image. The opacity of this image is multiplied by dstPercentage and opacity of overlay is multiplied by srcPercentage.

This method corresponds to the -dissolve option of ImageMagick's composite command.

  1. void dissolve(const(Image) overlay, int srcPercentage, int dstPercentage, ssize_t xOffset, ssize_t yOffset)
    class Image
    void
    dissolve
    (
    const(Image) overlay
    ,,,
    ssize_t xOffset
    ,
    ssize_t yOffset
    )
  2. void dissolve(const(Image) overlay, int srcPercentage, int dstPercentage, GravityType gravity = GravityType.NorthWestGravity)

Parameters

overlay
Type: const(Image)

The source image for the composite operation.

srcPercentage
Type: int

Percentage for the source image.

dstPercentage
Type: int

Percentage for this image.

xOffset
Type: ssize_t

The x offset to use for the overlay.

yOffset
Type: ssize_t

The y offset to use for the overlay.

Meta