---
title: screenBlendMode()
framework: coreimage
role: symbol
role_heading: Type Method
path: coreimage/cifilter-swift.class/screenblendmode()
---

# screenBlendMode()

Blends colors of two images by multiplying colors.

## Declaration

```swift
class func screenBlendMode() -> any CIFilter & CICompositeOperation
```

## Return Value

Return Value The modified image.

## Discussion

Discussion This method applies the screen-blend mode filter to an image. The effect calculates the colors in the output image by multiplying the inverse color values for the input and background images, resulting in a brighter image. The screen-blend mode filter uses the following properties: The following code creates a filter that results in the image becoming lighter with colors from the input and background image: func screenBlendMode(inputImage: CIImage, backgroundImage: CIImage) -> CIImage {     let screenBlendMode = CIFilter.screenBlendMode()     screenBlendMode.inputImage = inputImage     screenBlendMode.backgroundImage = backgroundImage     return screenBlendMode.outputImage! }

## See Also

### Filters

- [additionCompositing()](coreimage/cifilter-swift.class/additioncompositing().md)
- [colorBlendMode()](coreimage/cifilter-swift.class/colorblendmode().md)
- [colorBurnBlendMode()](coreimage/cifilter-swift.class/colorburnblendmode().md)
- [colorDodgeBlendMode()](coreimage/cifilter-swift.class/colordodgeblendmode().md)
- [darkenBlendMode()](coreimage/cifilter-swift.class/darkenblendmode().md)
- [differenceBlendMode()](coreimage/cifilter-swift.class/differenceblendmode().md)
- [divideBlendMode()](coreimage/cifilter-swift.class/divideblendmode().md)
- [exclusionBlendMode()](coreimage/cifilter-swift.class/exclusionblendmode().md)
- [hardLightBlendMode()](coreimage/cifilter-swift.class/hardlightblendmode().md)
- [hueBlendMode()](coreimage/cifilter-swift.class/hueblendmode().md)
- [lightenBlendMode()](coreimage/cifilter-swift.class/lightenblendmode().md)
- [linearBurnBlendMode()](coreimage/cifilter-swift.class/linearburnblendmode().md)
- [linearDodgeBlendMode()](coreimage/cifilter-swift.class/lineardodgeblendmode().md)
- [linearLightBlendMode()](coreimage/cifilter-swift.class/linearlightblendmode().md)
- [luminosityBlendMode()](coreimage/cifilter-swift.class/luminosityblendmode().md)
