workingFormat
A Core Image context option key to specify the pixel format to for intermediate results when rendering.
Declaration
static let workingFormat: CIContextOptionDiscussion
The value for this key is an NSNumber instance containing a CIFormat value.
The supported values for the working pixel format are:
Notes | |
|---|---|
Uses less memory but has less precision an range | |
Uses 8 bytes per pixel, supports HDR | |
Only on macOS |
If this option is not specified, then the default is RGBAh.
(The default is RGBA8 if your if app is linked against iOS 12 SDK or earlier.)