CIFilter_CompositeOperation_LightenBlendMode - linhay/Stem GitHub Wiki

CIFilter.CompositeOperation.LightenBlendMode

Discussion The result is that the background image samples are replaced by any source image samples that are lighter. Otherwise, the background image samples are left unchanged. 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 LightenBlendMode: 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?