Contents

composited(over:)

Returns a new image created by compositing the original image over the specified destination image.

Declaration

func composited(over dest: CIImage) -> CIImage

Parameters

  • dest:

    An image to serve as the destination of the compositing operation.

Return Value

An image object representing the result of the compositing operation.

Discussion

Calling this method is equivalent to using the CISourceOverCompositing filter. To use other compositing operations and blending modes, create a CIFilter object using one of the built-in filters from the CICategoryCompositeOperation category. For details, see Core Image Filter Reference.

See Also

Creating an Image by Modifying an Existing Image