---
title: outputPremultiplied
framework: coreimage
role: symbol
role_heading: Type Property
path: coreimage/cicontextoption/outputpremultiplied
---

# outputPremultiplied

A Boolean value to control how a Core Image context render produces alpha-premultiplied pixels.

## Declaration

```swift
static let outputPremultiplied: CIContextOption
```

## Discussion

Discussion This option only affects how a context is rendered when using methods where the destination’s alpha mode cannot be determined such as: /CIContext/render:toBitmap:rowBytes:bounds:format:colorSpace: /CIContext/render:toCVPixelBuffer: /CIContext/render:toIOSurface:bounds:colorSpace: /CIContext/render:toMTLTexture:commandBuffer:bounds:colorSpace: /CIContext/createCGImage:fromRect: If the value for this option is: True: The output will produce alpha-premultiplied pixels. False: The output will produce un-premultiplied pixels. Not specified: the default behavior True. This option does not affect how a context is rendered to a CIRenderDestination because that API allows you to set or override the alpha behavior using /CIRenderDestination/alphaMode.

## See Also

### Type Properties

- [allowLowPower](coreimage/cicontextoption/allowlowpower.md)
- [cacheIntermediates](coreimage/cicontextoption/cacheintermediates.md)
- [highQualityDownsample](coreimage/cicontextoption/highqualitydownsample.md)
- [memoryTarget](coreimage/cicontextoption/memorytarget.md)
- [name](coreimage/cicontextoption/name.md)
- [outputColorSpace](coreimage/cicontextoption/outputcolorspace.md)
- [priorityRequestLow](coreimage/cicontextoption/priorityrequestlow.md)
- [useSoftwareRenderer](coreimage/cicontextoption/usesoftwarerenderer.md)
- [workingColorSpace](coreimage/cicontextoption/workingcolorspace.md)
- [workingFormat](coreimage/cicontextoption/workingformat.md)
