---
title: vImage.BlendMode.lighten
framework: accelerate
role: symbol
role_heading: Case
path: accelerate/vimage/blendmode/lighten
---

# vImage.BlendMode.lighten

Sets each channel of the destination pixel as the lightest value for the corresponding channel of the two source layers

## Declaration

```swift
case lighten
```

## Discussion

Discussion The following image shows the result of compositing using the lighten blend mode:

The top-left quadrant in the result is white because no pixels in the bottom layer are brighter than the corresponding pixels in the top layer. The bottom-left quadrant in the result looks washed out because the operation selects gray pixels from the top layer over corresponding dark pixels from the bottom layer.

## See Also

### Related Documentation

- [Compositing images with alpha blending](accelerate/compositing-images-with-alpha-blending.md)

### Enumeration Cases

- [vImage.BlendMode.darken](accelerate/vimage/blendmode/darken.md)
- [vImage.BlendMode.multiply](accelerate/vimage/blendmode/multiply.md)
- [vImage.BlendMode.screen](accelerate/vimage/blendmode/screen.md)
