composited(over:)
Returns a new image created by compositing the original image over the specified destination image.
Declaration
func composited(over dest: CIImage) -> CIImageParameters
- 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
applyingFilter(_:parameters:)applyingFilter(_:)transformed(by:)transformed(by:highQualityDownsample:)cropped(to:)oriented(forExifOrientation:)clampedToExtent()clamped(to:)convertingWorkingSpaceToLab()convertingLabToWorkingSpace()matchedToWorkingSpace(from:)matchedFromWorkingSpace(to:)premultiplyingAlpha()unpremultiplyingAlpha()settingAlphaOne(in:)