CIFilter_CompositeOperation_OverlayBlendMode - linhay/Stem GitHub Wiki

CIFilter.CompositeOperation.OverlayBlendMode

Discussion The result is to overlay the existing image samples while preserving the highlights and shadows of the background. The background color mixes with the source image to reflect the lightness or darkness of the background. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.

public struct OverlayBlendMode: CIFilterContainerProtocol

Inheritance

CIFilterContainerProtocol

Initializers

init()

init()

Properties

filter

var filter: CIFilter

image

A CIImage object whose display name is Image.

var image: CIImage?

backgroundImage

A CIImage object whose display name is Background Image.

var backgroundImage: CIImage?