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 4 bytes per pixel. Only supporrts SDR and has less precision. | |
Uses 8 bytes per pixel. Supports HDR. | |
Uses 16 bytes per pixel. Only available 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.)