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

# vImage.BlendMode.multiply

Sets the destination pixel as the product of the corresponding source pixels.

## Declaration

```swift
case multiply
```

## Discussion

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

The bottom-right quadrant in the result is black because the operation multiplies each bottom-layer pixel value by 0.0 from the top layer. The top-left quadrant in the result is identical to the corresponding quadrant in the bottom layer because the operation multiplies each bottom-layer pixel value by 1.0. The top-right quadrant in the result is darker than the corresponding quadrant in the bottom layer. In this quadrant, the top-layer and bottom-layer pixel values are identical. For example, if the source pixel value is 0.5, the destination pixel value is 0.25: dest = 0.5 * 0.5 // dest = 0.25

## 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.lighten](accelerate/vimage/blendmode/lighten.md)
- [vImage.BlendMode.screen](accelerate/vimage/blendmode/screen.md)
